Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Customizing the WordPress Admin Area Admin Color Schemes Customizing Admin Color Schemes via a Plugin

WordPress Memory Error

I'm getting a memory error when trying to use the admin dashboard color schemer plugin. I tried editing php.ini and wp-config to allow for more memory, but nothing seems to be working. Is the plugin broken? Any tips?

"Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/wordpress/wp-content/plugins/admin-color-schemer/lib/phpsass/script/SassScriptLexer.php on line 111"

Edit: Also, I deactivated every plugin, did a database reset, and this is a local WP install.

1 Answer

Hi,

For a plugin that really shouldn't mess with much that seems odd.

I have checked out the plugin on GitHub and for me I would deactivate the plugin and make sure your site works as it should. If so reset the wp-config to default settings as well as php.ini. These are two files that should not need touching for a plugin to work correctly.

This plugin has not been touched for 3 years, that's OK in some cases but with all the changes to the way the admin works in WordPress I would say this is a plugin to avoid at the moment.

Hope this helps,

Craig :)