Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #780778

    I am currently running PHP 7.1.1, WordPress 4.7.3 and Enfold 4.0.5. I ran into a strange bug where I attempted to edit a Fullwidth Easy Slider on our homepage. When I clicked into any of the images, the Edit Form Element window would popup with no settings (just white) and firebug returned a 500 – Internal server error with admin-ajax.php. Deactivating all plugins did not remedy the condition. Once I did an IIS reset, it started to work again. I then added the following to wp-config.php:

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);

    Now in the C:\inetpub\wwwroot\\wp-content\debug.log I am seeing many instances of the following warnings:

    PHP Warning: A non-numeric value encountered in C:\inetpub\wwwroot\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\html-helper.class.php on line 1054

    PHP Warning: A non-numeric value encountered in C:\inetpub\wwwroot\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\html-helper.class.php on line 1056

    PHP Warning: A non-numeric value encountered in C:\inetpub\wwwroot\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\html-helper.class.php on line 1063

    The offending lines in html-helper.class.php are:

    Line 1054: if( isset( AviaHtmlHelper::$cache[‘entry_’+$limit] ) && isset( AviaHtmlHelper::$cache[‘entry_’+$limit][$element[‘subtype’]] ) )
    Line 1056: $entries = AviaHtmlHelper::$cache[‘entry_’+$limit][$element[‘subtype’]];
    Line 1063: AviaHtmlHelper::$cache[‘entry_’+$limit][$element[‘subtype’]] = $entries;

    I don’t know if this would have anything to do with the 500 errors, but I would like to see these warning resolved. This is what I found on those errors but don’t know enough to fix it myself:

    http://stackoverflow.com/questions/42044127/warning-a-non-numeric-value-encountered

    Thanks.

    #780853

    Hey uxfapps,

    Have you tried to return PHP 7.0 to see if that alleviates the issue?

    There might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:

     

    Best regards,
    Jordan Shannon

    #785928

    I’m receiving this issue as well, unable to UPDATE the page because of it so pretty critical error.

    No files are corrupt did a clean install of the theme twice.

    PHP 7.1, Ubuntu 16.04.2, Apache/2.4.18, Enfold 4.0.5, WordPress 4.7.4

    Happens after editing a slide / creating a new slide, hit page UPDATE, get white screen, no changes save. Server log gets:

    [php7:warn] PHP Warning: A non-numeric value encountered in /wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 1054, referer: …/wp-admin/post.php?post=504&action=edit

    #785972

    Hey roisocial,

    Would you be able to start a new thread stating this issue, and also privately provide admin info so that we can log in and look into this further.

    Best regards,
    Jordan Shannon

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