Home Forums WoodMart support forum PHP error with Lazyload

PHP error with Lazyload

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #492522

    Jose1966
    Participant

    Hi There,

    I ma getting this error message on the site http://www.crewkerz.com in the home page.
    2023/08/31 17:04:08 [error] 90309#90309: *987562 FastCGI sent in stderr: “PHP message: PHP Warning: Trying to access array offset on value of type bool in /www/crewkers_941/public/wp-content/themes/woodmart/inc/modules/lazy-loading.php on line 271

    Qmonitor is adding the following :
    wp-content/themes/woodmart/inc/modules/lazy-loading.php:271
    woodmart_get_attachment_placeholder()
    wp-content/themes/woodmart/inc/modules/lazy-loading.php:66
    woodmart_filter_elementor_images()
    wp-includes/class-wp-hook.php:310
    apply_filters(‘elementor/image_size/get_attachment_image_html’)
    wp-content/plugins/elementor/includes/controls/groups/image-size.php:137
    Elementor\Group_Control_Image_Size::get_attachment_image_html()
    wp-content/themes/woodmart/inc/integrations/elementor/helpers.php:170
    woodmart_get_image_html()
    wp-content/themes/woodmart/inc/integrations/elementor/elements/infobox/infobox.php:226
    woodmart_elementor_infobox_template()
    wp-content/themes/woodmart/inc/integrations/elementor/elements/infobox/class-infobox.php:1022
    XTS\Elementor\Infobox->render()
    wp-content/plugins/elementor/includes/base/controls-stack.php:2243
    Elementor\Controls_Stack->render_by_mode()
    wp-content/plugins/elementor/includes/base/widget-base.php:609
    Elementor\Widget_Base->render_content()
    wp-content/plugins/elementor/includes/base/widget-base.php:750
    Elementor\Widget_Base->print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:449
    Elementor\Element_Base->print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:1360
    Elementor\Element_Base->print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:449
    Elementor\Element_Base->print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:1360
    Elementor\Element_Base->print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:449
    Elementor\Element_Base->print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:1360
    Elementor\Element_Base->print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:449
    Elementor\Element_Base->print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:1360
    Elementor\Element_Base->print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:449
    Elementor\Element_Base->print_element()
    wp-content/plugins/elementor/core/base/document.php:1711
    Elementor\C\B\Document->print_elements()
    wp-content/plugins/elementor/core/base/document.php:1106
    Elementor\C\B\Document->print_elements_with_wrapper()
    wp-content/plugins/elementor/includes/frontend.php:1179
    Elementor\Frontend->get_builder_content()
    wp-content/plugins/elementor/includes/frontend.php:1074
    Elementor\Frontend->apply_builder_in_content()
    wp-includes/class-wp-hook.php:310
    apply_filters(‘the_content’)
    wp-includes/post-template.php:256
    the_content()
    wp-content/plugins/elementor/modules/page-templates/module.php:190
    Elementor\M\P\Module->print_callback()
    wp-content/plugins/elementor/modules/page-templates/module.php:190
    Elementor\M\P\Module->print_content()
    wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php:19

    All the plugins, theme and Worpress are running the latest version.

    Best Regards

    Jose

    #492564

    Artem Temos
    Keymaster

    Hello,

    Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
    WoodMart core
    WooCommerce
    Elementor/WPBakery page builder

    Thank you in advance

    #492872

    Jose1966
    Participant

    Hi There
    You have now full admin access. You can deactivate everything you need.
    Regards
    Jose

    #492935

    Artem Temos
    Keymaster

    Hello,

    Please, deactivate all plugins so we don’t break anything. Also, send us a screenshot of the place where you see the PHP error.

    Thank you in advance.

    #492982

    Jose1966
    Participant

    Hi there
    Ok I will do it now if you are available.
    Easy, test it first with the home page and you will get all the errors information with query monitor. Be connected first in admin to see Query Monitor
    Thanks

    • This reply was modified 1 year, 7 months ago by Jose1966.
    #492991

    Jose1966
    Participant

    Ok I just deactivate the theme to 2023 theme and no error message anymore.
    I tested also with the Woodmart parent theme and the error is there.

    All plugins have been deactivated less (Woodmart core, WooCommerce, Elementor Elementor Pro and Qmonitor) and Child Theme Woodmart with Woo.

    I let you play.
    Regards

    #493052

    Jose1966
    Participant

    Hi there,

    Could you please tell me when you will have a look as this site is a live site?

    Thanks

    #493121

    Artem Temos
    Keymaster

    Hello,

    It is caused by a non-existing image added to the infobox element. Please, check this screenshot https://prnt.sc/DvAnfRgNENOY

    Kind Regards

    #493144

    Jose1966
    Participant

    Well done. Many Thanks!!!

    I cleaned all of them. You can close this issue.

    Best Regards

    • This reply was modified 1 year, 7 months ago by Jose1966.
    #493209

    Artem Temos
    Keymaster

    You are always welcome. Feel free to contact us if you have any further questions.

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

The topic ‘PHP error with Lazyload’ is closed to new replies.