Home Forums WoodMart support forum Critical Error Shop page not showing

Critical Error Shop page not showing

Viewing 30 posts - 1 through 30 (of 30 total)
  • Author
    Posts
  • #430972

    dragan
    Participant

    Hi We got some critical error on the theme, any idea how to solve this:

    2022-12-23T12:33:36+00:00 CRITICAL Uncaught Error: Call to undefined function woodmart_loop_prop() in /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/woocommerce/loop/loop-start.php:13
    Stack trace:
    #0 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1123): wc_get_template()
    #2 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/templates/archive-product.php(59): woocommerce_product_loop_start()
    #3 /home/ssidoors/vebprodaja.rs/wp-includes/template-loader.php(106): include(‘/home/ssidoors/…’)
    #4 /home/ssidoors/vebprodaja.rs/wp-blog-header.php(19): require_once(‘/home/ssidoors/…’)
    #5 /home/ssidoors/vebprodaja.rs/index.php(17): require(‘/home/ssidoors/…’)
    #6 {main}
    thrown u /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/woocommerce/loop/loop-start.php u redu 13

    2022-12-23T12:33:46+00:00 CRITICAL Uncaught Error: Call to undefined function woodmart_loop_prop() in /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/woocommerce/loop/loop-start.php:13
    Stack trace:
    #0 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1123): wc_get_template()
    #2 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/templates/single-product/related.php(34): woocommerce_product_loop_start()
    #3 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/ssidoors/…’)
    #4 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2048): wc_get_template()
    #5 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2011): woocommerce_related_products()
    #6 /home/ssidoors/vebprodaja.rs/wp-includes/class-wp-hook.php(308): woocommerce_output_related_products()
    #7 /home/ssidoors/vebprodaja.rs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #8 /home/ssidoors/vebprodaja.rs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #9 /home/ssidoors/vebprodaja.rs/wp-content/themes/oceanwp/woocommerce/content-single-product.php(77): do_action()
    #10 /home/ssidoors/vebprodaja.rs/wp-includes/template.php(785): require(‘/home/ssidoors/…’)
    #11 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
    #12 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/templates/single-product.php(37): wc_get_template_part()
    #13 /home/ssidoors/vebprodaja.rs/wp-includes/template-loader.php(106): include(‘/home/ssidoors/…’)
    #14 /home/ssidoors/vebprodaja.rs/wp-blog-header.php(19): require_once(‘/home/ssidoors/…’)
    #15 /home/ssidoors/vebprodaja.rs/index.php(17): require(‘/home/ssidoors/…’)
    #16 {main}
    thrown u /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/woocommerce/loop/loop-start.php u redu 13

    2022-12-23T12:34:00+00:00 CRITICAL Uncaught Error: Call to undefined function woodmart_loop_prop() in /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/woocommerce/loop/loop-start.php:13
    Stack trace:
    #0 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1123): wc_get_template()
    #2 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/templates/archive-product.php(59): woocommerce_product_loop_start()
    #3 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/ssidoors/…’)
    #4 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.php(22): wc_get_template()
    #5 /home/ssidoors/vebprodaja.rs/wp-includes/template-loader.php(106): include(‘/home/ssidoors/…’)
    #6 /home/ssidoors/vebprodaja.rs/wp-blog-header.php(19): require_once(‘/home/ssidoors/…’)
    #7 /home/ssidoors/vebprodaja.rs/index.php(17): require(‘/home/ssidoors/…’)
    #8 {main}
    thrown u /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/woocommerce/loop/loop-start.php u redu 13

    2022-12-23T12:35:10+00:00 CRITICAL Uncaught Error: Failed opening required ‘/home/ssidoors/vebprodaja.rs/wp-content/themes/oceanwp/woocommerce/content-single-product.php’ (include_path=’.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/ssidoors/vebprodaja.rs/wp-includes/template.php:785
    Stack trace:
    #0 /home/ssidoors/vebprodaja.rs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
    #1 /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/woocommerce/single-product.php(28): wc_get_template_part()
    #2 /home/ssidoors/vebprodaja.rs/wp-includes/template-loader.php(106): include(‘/home/ssidoors/…’)
    #3 /home/ssidoors/vebprodaja.rs/wp-blog-header.php(19): require_once(‘/home/ssidoors/…’)
    #4 /home/ssidoors/vebprodaja.rs/index.php(17): require(‘/home/ssidoors/…’)
    #5 {main}
    thrown u /home/ssidoors/vebprodaja.rs/wp-includes/template.php u redu 785

    #430973

    Artem Temos
    Keymaster

    Hello,

    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

    #430974

    dragan
    Participant
    #430975

    dragan
    Participant

    in message the log in details

    #430976

    Artem Temos
    Keymaster

    Could you please clarify where exactly we can see this error on your website now? Also, keep all the external plugins temporarily turned off.

    #430979

    dragan
    Participant

    Please check the link: https://vebprodaja.rs/prodavnica/

    this is the shop page, the categories and the shop page are showing 0 products on the shop page all products have a visibility set and all has worked perfect till about 1 hour ago, with all the plugins etc.

    Suddenly out of the blue the shop page disappeared (as it should show all the products inside on woocommerce) after searching we could only find these ciritical errors on it.

    nothing has been changed before that from the previous part except the latest patch from your side has been applied on it. You can disable the plugins which you think are problematic but the site is up and running since 15-11 and we did not have any compatibility issues.

    the first error log is the one from woocommerce:

    Error log show this on the server show just this part:

    [23-Dec-2022 10:23:35 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/sends-about-products-wishlist/class-send-on-sales-products.php:101
    Stack trace:
    #0 /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/sends-about-products-wishlist/class-send-on-sales-products.php(101): in_array()
    #1 /home/ssidoors/vebprodaja.rs/wp-includes/class-wp-hook.php(308): XTS\WC_Wishlist\Send_On_Sales_Products->register_on_sales_products()
    #2 /home/ssidoors/vebprodaja.rs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 /home/ssidoors/vebprodaja.rs/wp-includes/plugin.php(565): WP_Hook->do_action()
    #4 /home/ssidoors/vebprodaja.rs/wp-cron.php(188): do_action_ref_array()
    #5 {main}
    thrown in /home/ssidoors/vebprodaja.rs/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/sends-about-products-wishlist/class-send-on-sales-products.php on line 101
    [23-Dec-2022 10:48:34 UTC] PHP Warning: Attempt to read property “labels” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 10:48:34 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 10:48:34 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3225
    [23-Dec-2022 10:48:42 UTC] PHP Warning: Attempt to read property “labels” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 10:48:42 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 10:48:42 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3225
    [23-Dec-2022 10:48:50 UTC] PHP Warning: Attempt to read property “labels” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 10:48:50 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 10:48:50 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3225
    [23-Dec-2022 10:48:57 UTC] PHP Warning: Attempt to read property “labels” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 10:48:57 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 10:48:57 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3225
    [23-Dec-2022 11:23:45 UTC] PHP Warning: Attempt to read property “labels” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 11:23:45 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 11:23:45 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3225
    [23-Dec-2022 11:23:55 UTC] PHP Warning: Attempt to read property “labels” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 11:23:55 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3222
    [23-Dec-2022 11:23:55 UTC] PHP Warning: Attempt to read property “name” on null in /home/ssidoors/vebprodaja.rs/wp-includes/general-template.php on line 3225

    #430980

    dragan
    Participant

    on the shop page there should be 369 product visible… Divided of course in categories and so forth…

    #430983

    Artem Temos
    Keymaster

    Please, disable all external plugins temporarily and switch to the parent theme so we can check.

    #430987

    dragan
    Participant

    Switched to parent and disabled all non critical plugins

    #430988

    Artem Temos
    Keymaster

    Hello,

    Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?

    Regards

    #430989

    dragan
    Participant

    will be difficult because no other theme is installed except your main theme and child theme check the picture below.

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

    Artem Temos
    Keymaster

    You can install this theme with a few clicks from the repository. We need to identify what exactly causes this issue first.

    #430992

    dragan
    Participant

    its done theme 22 installed and on the shop page all products are shown

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

    Artem Temos
    Keymaster

    Please, send us your FTP access as well.

    Thank you in advance.

    #431000

    dragan
    Participant

    hi i made a staging site where you guys can test and play around to see for a solution. check details below.

    #431001

    Artem Temos
    Keymaster

    Sorry, but we can’t connect to your server with this FTP account https://gyazo.com/b77538f22506b1fafce9594b6bbabbcb

    #431003

    dragan
    Participant

    below

    #431004

    Artem Temos
    Keymaster

    We successfully connected to the server but don’t see any files there https://gyazo.com/144ce4df0ab32a4535701762781e63e6

    #431008

    dragan
    Participant

    are you in the correct directory

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

    Artem Temos
    Keymaster

    We don’t see any of this. When we connected to your server we see just an empty directory.

    #431011

    dragan
    Participant

    let me check what the issue is in here maybe right are missing

    #431018

    dragan
    Participant

    wrong link took me a while to figure it out sorry now it should work cred under it

    #431020

    Artem Temos
    Keymaster

    Hello,

    We have reinstalled the theme and now it seems to work correctly. Please, test it from your end.

    Kind Regards

    #431021

    dragan
    Participant

    now we got WP crititcal erro on the reinstall check box below

    #431022

    dragan
    Participant

    BTW how to reinstall the theme ?

    #431023

    Artem Temos
    Keymaster

    You need to go to Appearance -> Themes -> Add new and upload the theme archive replacing your current version.

    #431025

    dragan
    Participant

    ok found the files and did the reinstall and it seems to work

    https://vebprodaja.rs/prodavnica/

    still do not know what the problem was actually…

    any idea?

    #431028

    dragan
    Participant

    After reinstall:

    it changed all translation see pic 1 and only on mobile…not sure as on desktop the translation is there. IT show CATEGORY in ENG and not the desktop version KATEGORIJE

    the category Kuhinja on desktop and pulling it to mobile view shows but on android device and aplle does not show. its product category https://vebprodaja.rs/product-category/kuhinja/

    that the only page not showing for now in quick check and the strange part is the translation part

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

    dragan
    Participant

    found another error:

    https://vebprodaja.rs/product-category/namestaj/

    (was i believe furniture in the original page layout) , this short code we will delete for sure

    desktop show the default pic of the theme where as we did not have this inserteted in the page its

    #431270

    Artem Temos
    Keymaster

    Hello,

    We tested your website but don’t see any problems with translations on that page. Here is a screenshot https://gyazo.com/945028a618b9527ee2a36144111273a3

    As for the second issue, we don’t quite understand what is wrong there. Could you please send us a screenshot for a better explanation?

    Kind Regards

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