Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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

    #999171

    Hey 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,
    Rikard

    #999248

    define( ‘WP_DEBUG’, false ); is already there in wp-config.php

    #999252

    Hi,

    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,
    Dude

    #999272
    This reply has been marked as private.
    #999402
    This reply has been marked as private.
    #1001847

    Hi,

    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ünter

    #1038486

    I’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 6 years ago by mdog8.
    #1038857

    Hi mdog8,

    Great, glad you found a solution. The warnings should hopefully disappear with the next theme update.

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.