Home Forums WoodMart support forum Fatal Error on MegaMarket. Possible conflict with woocommerce.

Fatal Error on MegaMarket. Possible conflict with woocommerce.

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

    okananter
    Participant

    I have a fresh install on Cloudways. I got a JSON error while using Gutenberg. Contacted support at cloudways and they stated that the fatal error is due to a conflict with woocommerce. They asked that I share the below wit you.

    Comment back please. All the best.

    2025/07/23 09:03:50 [error] 983930#983930: *36554 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/themes/woodmart/woocommerce/single-product/product-image.php:27
    Stack trace:
    #0 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include()
    #1 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/themes/woodmart/inc/integrations/gutenberg/src/layouts/sp-gallery/render.php(16): wc_get_template()
    #2 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/class-wp-block.php(586): wd_gutenberg_single_product_gallery()
    #3 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/blocks.php(2359): WP_Block->render()
    #4 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php(190): render_block()
    #5 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-i” while reading response header from upstream, client: 88.230.14.246, server: woocommerce-1493057-5698336.cloudwaysapps.com, request: “POST /wp-json/wp/v2/block-renderer/wd/sp-gallery?context=edit&_locale=user HTTP/1.0”, upstream: “fastcgi://unix:/var/run/fpm-htxqcnpqxh.sock:”, host: “arenalightingsolutions.com”, referrer: “https://arenalightingsolutions.com/wp-admin/post.php?post=900&action=edit”
    2025/07/23 09:03:50 [error] 983930#983930: *36574 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_rating_count() on null in /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/themes/woodmart/inc/integrations/gutenberg/src/layouts/sp-rating/render.php:17
    Stack trace:
    #0 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/class-wp-block.php(586): wd_gutenberg_single_product_rating()
    #1 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/blocks.php(2359): WP_Block->render()
    #2 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php(190): render_block()
    #3 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Block_Renderer_Controller->get_item()
    #4 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()
    #5 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_” while reading response header from upstream, client: 88.230.14.246, server: woocommerce-1493057-5698336.cloudwaysapps.com, request: “POST /wp-json/wp/v2/block-renderer/wd/sp-rating?context=edit&_locale=user HTTP/1.0”, upstream: “fastcgi://unix:/var/run/fpm-htxqcnpqxh.sock:”, host: “arenalightingsolutions.com”, referrer: “https://arenalightingsolutions.com/wp-admin/post.php?post=900&action=edit”
    2025/07/23 09:03:50 [error] 983930#983930: *36569 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_sku() on null in /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/themes/woodmart/woocommerce/single-product/meta.php:45
    Stack trace:
    #0 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include()
    #1 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/themes/woodmart/inc/integrations/gutenberg/src/layouts/sp-meta/render.php(19): wc_get_template()
    #2 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/class-wp-block.php(586): wd_gutenberg_single_product_meta()
    #3 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/blocks.php(2359): WP_Block->render()
    #4 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php(190): render_block()
    #5 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/class-wp-res” while reading response header from upstream, client: 88.230.14.246, server: woocommerce-1493057-5698336.cloudwaysapps.com, request: “POST /wp-json/wp/v2/block-renderer/wd/sp-meta?context=edit&_locale=user HTTP/1.0”, upstream: “fastcgi://unix:/var/run/fpm-htxqcnpqxh.sock:”, host: “arenalightingsolutions.com”, referrer: “https://arenalightingsolutions.com/wp-admin/post.php?post=900&action=edit”
    2025/07/23 09:03:53 [error] 983930#983930: *36656 FastCGI sent in stderr: “PHP message: objectcache.critical: Failed to initialize object cache: The WP_REDIS_CONFIG constant has not been defined. If it was defined, try moving it closer to the beginning of the wp-config.php file. For more information see: https://objectcache.pro/docs/configuration/” while reading response header from upstream, client: 2a06:98c0:3600::103, server: woocommerce-1493057-5698336.cloudwaysapps.com, request: “GET /wp-admin/setup-config.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/fpm-htxqcnpqxh.sock:”, host: “arenalightingsolutions.com”
    2025/07/23 09:03:55 [error] 983929#983929: *36597 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_price_html() on null in /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/plugins/woocommerce/templates/single-product/price.php:25
    Stack trace:
    #0 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include()
    #1 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/themes/woodmart/inc/integrations/gutenberg/src/layouts/sp-price/render.php(19): wc_get_template()
    #2 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/class-wp-block.php(586): wd_gutenberg_single_product_price()
    #3 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/blocks.php(2359): WP_Block->render()
    #4 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php(190): render_block()
    #5 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/” while reading response header from upstream, client: 88.230.14.246, server: woocommerce-1493057-5698336.cloudwaysapps.com, request: “POST /wp-json/wp/v2/block-renderer/wd/sp-price?context=edit&_locale=user HTTP/1.0”, upstream: “fastcgi://unix:/var/run/fpm-htxqcnpqxh.sock:”, host: “arenalightingsolutions.com”, referrer: “https://arenalightingsolutions.com/wp-admin/post.php?post=900&action=edit”
    2025/07/23 09:03:56 [error] 983930#983930: *36621 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_id() on null in /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/compare/class-ui.php:47
    Stack trace:
    #0 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-content/themes/woodmart/inc/integrations/gutenberg/src/layouts/sp-compare-btn/render.php(28): XTS\Modules\Compare\Ui->add_to_compare_btn()
    #1 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/class-wp-block.php(586): wd_gutenberg_single_product_compare_btn()
    #2 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/blocks.php(2359): WP_Block->render()
    #3 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php(190): render_block()
    #4 /home/1493057.cloudwaysapps.com/htxqcnpqxh/public_html/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Block_Renderer_Controller->get_item()
    #5 /home” while reading response header from upstream, client: 88.230.14.246, server: woocommerce-1493057-5698336.cloudwaysapps.com, request: “POST /wp-json/wp/v2/block-renderer/wd/sp-compare-btn?context=edit&_locale=user HTTP/1.0”, upstream: “fastcgi://unix:/var/run/fpm-htxqcnpqxh.sock:

    Attachments:
    You must be logged in to view attached files.
    #675749

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?

    Thank you in advance

    #675768

    okananter
    Participant

    It is now working. I am not sure why.

    I hate to say we are good now but, who knows when it will happen again and for what reason 🙂

    Thank you. All the best.

    #675794

    Artem Temos
    Keymaster

    Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.

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

The topic ‘Fatal Error on MegaMarket. Possible conflict with woocommerce.’ is closed to new replies.