We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Exception Caught - Mexitek - PHPColors

Development and Programming

bargainsla's avatar
bargainsla
1 posts
5 years ago
bargainsla's avatar bargainsla

Greetings. I recently updated to 5.2.4 (from 3.5.17). Site is running PHP 5.6.21.

This is the result I get following any of these actions:

  • Edit existing channels.
  • Create new entries on some channels.
  • Edit new entries on some channels.

I researched this on Google and found only this: https://expressionengine.com/support/bugs/21906/exception-hex-color-needs-to-be-6-or-3-digits-long

Any advice is much appreciated!

Exception Caught
HEX color needs to be 6 or 3 digits long
ee/Mexitek/PHPColors/Color.php:41

Stack Trace: Please include when reporting this error
#0 ee/EllisLab/ExpressionEngine/Model/Status/Status.php(114): Mexitek\PHPColors\Color->__construct('Navy')
#1 ee/EllisLab/ExpressionEngine/Controller/Channels/Channels.php(741): EllisLab\ExpressionEngine\Model\Status\Status->getOptionComponent(Array)
#2 ee/EllisLab/ExpressionEngine/Controller/Channels/Channels.php(717): EllisLab\ExpressionEngine\Controller\Channels\Channels->renderStatusesField(Object(EllisLab\ExpressionEngine\Model\Channel\Channel))
#3 ee/EllisLab/ExpressionEngine/Controller/Channels/Channels.php(291): EllisLab\ExpressionEngine\Controller\Channels\Channels->renderStatusesTab(Object(EllisLab\ExpressionEngine\Model\Channel\Channel), NULL)
#4 ee/EllisLab/ExpressionEngine/Controller/Channels/Channels.php(179): EllisLab\ExpressionEngine\Controller\Channels\Channels->form('6')
#5 [internal function]: EllisLab\ExpressionEngine\Controller\Channels\Channels->edit('6')
#6 ee/EllisLab/ExpressionEngine/Core/Core.php(241): call_user_func_array(Array, Array)
#7 ee/EllisLab/ExpressionEngine/Core/Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array)
#8 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
#9 admin.php(153): require_once('...')
#9 admin.php(153): require_once('...')
       
Robin Sowell's avatar
Robin Sowell
13,158 posts
5 years ago
Robin Sowell's avatar Robin Sowell

Ah, one of the add-ons could cause non-standard values to end up in the status color settings. That’s likely what happened.

Go take a look in the exp_statuses table- make sure the highlight color has 6 digits. I’m betting it’s blank.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.