-
AuthorPosts
-
August 19, 2018 at 8:45 pm #999076
I have an issue with my website suddenly error has come up for last 2 days
below is the error
Warning: Illegal string offset ‘avia-compat-js’ in /data/17/3/82/135/3408624/user/4851517/htdocs/arabic/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/asset-manager.class.php on line 683
Warning: Illegal string offset ‘file_content’ in /data/17/3/82/135/3408624/user/4851517/htdocs/arabic/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/asset-manager.class.php on line 683
Warning: Illegal string offset ‘custom_css_post_id’ in /data/17/3/82/135/3408624/user/4851517/htdocs/arabic/wp-includes/theme.php on line 904
August 20, 2018 at 6:09 am #999171Hey jcferns,
Sorry for the problems. Could you try to open you wp-config.php file located in the root folder of your WordPress installation and check if you have this line in there?
define( 'WP_DEBUG', false );
If not then please try to add it. You can read more here: https://codex.wordpress.org/Debugging_in_WordPress
Best regards,
RikardAugust 20, 2018 at 9:26 am #999248define( ‘WP_DEBUG’, false ); is already there in wp-config.php
August 20, 2018 at 9:32 am #999252Hi,
We’ll report this to our developers. To hide all warnings add this code to the very top of your child theme functions.php file (directly after the <?php tag)
error_reporting(0);
Best regards,
DudeAugust 20, 2018 at 10:03 am #999272This reply has been marked as private.August 20, 2018 at 3:06 pm #999402This reply has been marked as private.August 26, 2018 at 12:15 pm #1001847Hi,
The arabic site is running under 4.3, please update to latest version 4.4.1.
Can you please explain more detailed what the problem is and how to reproduce the problem.
To make sure there are no plugin conflicts also try to deactivate all plugins and check, then reactivate one after the other and check.
Best regards,
GünterNovember 28, 2018 at 1:07 pm #1038486I’m getting a very similar error:
Warning: Illegal string offset 'css' in /var/sites/t/XXXXXXXXXX.com/public_html/wp-content/themes/enfold/includes/helper-assets.php on line 51 Warning: Illegal string offset 'js' in /var/sites/t/XXXXXXXXXX.com/public_html/wp-content/themes/enfold/includes/helper-assets.php on line 52 Warning: Cannot modify header information - headers already sent by (output started at /var/sites/t/XXXXXXXXXX.com/public_html/wp-content/themes/enfold/includes/helper-assets.php:51) in /var/sites/t/XXXXXXXXXX.com/public_html/wp-admin/includes/misc.php on line 1126
But thankfully error_reporting(0); has hidden it.
I’m using a child theme and noticed the error dissappears when I swtich to the parent theme, but I’ve got quite a customised child theme so I can’t switch for good.
Anyway, hiding the error is OK for now, hopefully next update with fix it properly?
PS Thanks for all your hard work, I flippin LOVE Enfold.
- This reply was modified 5 years, 12 months ago by mdog8.
November 29, 2018 at 10:06 am #1038857 -
AuthorPosts
- You must be logged in to reply to this topic.