Tagged: Php error
Hello,
I have gone back and forth my my hosting company about the slow load speeds and 500 server errors and several of the issues they have identified are the following. Can you please advise on how to resolve these PHP errors?
Warning: Invalid argument supplied for foreach() in
/wp-content/themes/enfold/includes/admin/register-dynamic-styles.php
on line 20
Warning: extract() expects parameter 1 to be array, null given in
/wp-content/themes/enfold/css/dynamic-css.php
on line 36
Warning: extract() expects parameter 1 to be array, string given in
/wp-content/themes/enfold/functions-enfold.php
on line 1322
Hi soundstrat!
Thank you for using our theme.
Can you please check:
– using latest WP Version (4.4.2)
– using latest Enfold Version (3.4.7, 3.5 coming)
– check php versions of your hoster and minimum php needed for WP and Enfold
Deactivate all plugins and check, if the errors still occur, then activate one plugin after the other
Try to increase php memory (128 MB recommended, 256MB would be better) with your hoster and WP:
You can try adding following line to wp-config.php file which is in the root of your WordPress installation via FTP
define( 'WP_MEMORY_LIMIT', '256M' );
Best regards,
Günter