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

    Howdy!

    WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with your theme, Enfold.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.2.2
    Active theme: Enfold (version 5.6.3)
    Current plugin: (version )
    PHP version 8.1.21

    Error Details
    =============
    An error of type E_ERROR was caused in line 3773 of the file /public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php. Error message: Uncaught TypeError: aviaElementTemplates::set_locked_attributes(): Argument #1 ($attr) must be of type array, string given, called in /public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_hotspots/image_hotspots.php on line 750 and defined in /public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php:3773
    Stack trace:
    #0 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_hotspots/image_hotspots.php(750): aviaElementTemplates->set_locked_attributes(”, Object(avia_sc_image_hotspots), ‘av_image_spot’, Array, Array, ”)
    #1 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_hotspots/image_hotspots.php(954): avia_sc_image_hotspots->get_element_styles(Array)
    #2 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_image_hotspots->shortcode_handler(Array, ‘\n[av_imag…’, ‘av_image_hotspo…’, Array)
    #3 /public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘\n[av_imag…’, ‘av_image_hotspo…’)
    #4 [internal function]: do_shortcode_tag(Array)
    #5 /public_html/wp-includes/shortcodes.php(227): preg_replace_callback(‘/\\[(\\[?)(av_ima…’, ‘do_shortcode_ta…’, ‘[av_image_hotsp…’)
    #6 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(580): do_shortcode(‘[av_image_hotsp…’)
    #7 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/columns/columns.php(2091): ShortcodeHelper::avia_apply_autop(‘[av_image_ho…’)
    #8 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_columns->shortcode_handler(Array, ‘\n[av_image_hots…’, ‘av_three_fifth’, Array)
    #9 /public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘\n[av_image_hots…’, ‘av_three_fifth’)
    #10 [internal function]: do_shortcode_tag(Array)
    #11 /public_html/wp-includes/shortcodes.php(227): preg_replace_callback(‘/\\[(\\[?)(av_but…’, ‘do_shortcode_ta…’, ‘\n[av_three_…’)
    #12 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode(‘\n[av_three_…’)
    #13 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/section/section.php(1466): ShortcodeHelper::avia_remove_autop(‘\n[av_three_…’, true)
    #14 /public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_section->shortcode_handler(Array, ‘\n[av_three_…’, ‘av_section’, Array)
    #15 /public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘\n[av_three_…’, ‘av_section’)
    #16 [internal function]: do_shortcode_tag(Array)
    #17 /public_html/wp-includes/shortcodes.php(227): preg_replace_callback(‘/\\[(\\[?)(av_but…’, ‘do_shortcode_ta…’, ‘[av_section min…’)
    #18 /public_html/wp-includes/class-wp-hook.php(308): do_shortcode(‘[av_section min…’)
    #19 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘[av_section min…’, Array)
    #20 /public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1860): apply_filters(‘the_content’, ‘

    #1414299

    Hey iishaq,

    Thank you for the inquiry.

    Did you insert an Image with Hotspots element anywhere in the site? Please try to upgrade the theme to version 5.6.4, reconfigure the element, then update the page. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings afterward.

    Best regards,
    Ismael

    #1414306

    Hi Ismael,
    Yes, the issue came about as I inserted an image with Hotspots element. I will follow the steps that you have mentioned and take it from there.

    Thanks

    #1414348

    Hi,

    Thanks for the update, we’ll keep this thread open for you.

    Best regards,
    Rikard

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