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

    Hello,
    I received the below error on my hosting platform after updating the theme (to 4.5.6). Do you know why this happened. The error does not show on the site (staging site for now) but it shows on the hosting dashboard. Do you know why this showed and what I can do to make it go away?

    PHP Fatal error: Uncaught TypeError: Argument 1 passed to avia_style_generator::__construct() must be an instance of avia_superobject, null given, called in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/functions-enfold.php on line 1766 and defined in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/framework/php/class-style-generator.php:114
    Stack trace:
    #0 /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/functions-enfold.php(1766): avia_style_generator->__construct(NULL, false, false, false)
    #1 /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/class-wp-hook.php(286): avia_generate_stylesheet(”)
    #2 /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #3 /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/framework/php/functi in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/framework/php/class-style-generator.php on line 114

    #1100895

    Hey leadingnorth,

    Which version of PHP are you running on the site? We recommend using 7.1 or higher.

    Best regards,
    Rikard

    #1101523

    We’re running 7.2

    #1101984

    Hi,

    Thanks for the info. Could you try updating the theme to the latest version (4.5.7) to see if that helps please? (Purchase code hidden if logged out) /#theme-update” title=”https://kriesi.at/documentation/enfold/ (Purchase code hidden if logged out) /#theme-update”>https://kriesi.at/documentation/enfold/ (Purchase code hidden if logged out) /#theme-update

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.