Skip Navigation

[Resolved] WSOD when enable CRED

This thread is resolved. Here is a description of the problem and solution.

Problem: When activating CRED I see a white screen and the site is broken.

Solution: Downgrade from PHP 7.1 to PHP 7.0

This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by pamelaB-2 7 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#575385

I've just updated everything to the latest versions and got a white screen. So i disabled all plugins and re-enabled one by one until I found that enabling CRED crashes the site.

I deleted and re-uploaded the cred files completely, still the same problem.

Access granted to website.

#575421

Thanks for the details. I'd like to know what the error logs are saying about the WSOD error. Can you please enable PHP logging? If you're not sure how to do that, go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

Then add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

Then attempt to activate CRED again. This will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the updates you made to wp-config.php and rename the CRED plugin folder to restore access to your wp-admin area.

#575425

Admin area is never blocked, I can still operate in the WP admin area as if nothing is wrong. It's only the front-end thats affected.

Error log (this appears to have something to do with ubermenu, which I have used on many occasions alongside toolset without error).

[02-Oct-2017 14:41:23 UTC] PHP Warning: Illegal string offset 'item_display_calc' in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Cannot assign an empty string to a string offset in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Illegal string offset 'item_display_calc' in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 679
[02-Oct-2017 14:41:23 UTC] PHP Warning: Illegal string offset 'item_display_calc' in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Cannot assign an empty string to a string offset in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Illegal string offset 'item_display_calc' in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Cannot assign an empty string to a string offset in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Illegal string offset 'item_display_calc' in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Cannot assign an empty string to a string offset in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Illegal string offset 'item_display_calc' in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Cannot assign an empty string to a string offset in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Illegal string offset 'item_display_calc' in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Warning: Cannot assign an empty string to a string offset in /home/highpalmsco/public_html/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 569
[02-Oct-2017 14:41:23 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_case() in /home/highpalmsco/public_html/wp-content/plugins/types/application/controllers/api.php:192
Stack trace:
#0 /home/highpalmsco/public_html/wp-includes/class-wp-hook.php(298): Types_Api->__call('callback_filter...', Array)
#1 /home/highpalmsco/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#2 /home/highpalmsco/public_html/wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/models/Fields.php(581): apply_filters('types_filter_ge...', Array, '%,bit,%')
#3 /home/highpalmsco/public_html/wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/classes/Form_Builder_Helper.php(315): CRED_Fields_Model->getFields('%,bit,%', true, Array)
#4 /home/highpalmsco/public_html/wp-content/plugins/cred-frontend-editor/application/models/form/base.php(220): CRED_Form_Builder_Helper->getFieldSettings('bit')
#5 /home/highpalmsco/public_html/wp-content/plugins/cred-frontend-editor/application/controllers/form_bu in /home/highpalmsco/public_html/wp-content/plugins/types/application/controllers/api.php on line 192

#575435

Hi Christian.

I found the problem.

For some reason, this account was set on PHP7.1 which does not play well with toolset at the moment.

I dropped it back to 7.0 and everything is working now.

Thanks.