Home › Forums › WoodMart support forum › Critical Error Shop page not showing
Critical Error Shop page not showing
- This topic has 29 replies, 2 voices, and was last updated 1 year, 11 months ago by Artem Temos.
-
AuthorPosts
-
December 23, 2022 at 3:42 pm #430972
draganParticipantHi 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 132022-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 132022-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 132022-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 785December 23, 2022 at 3:44 pm #430973
Artem TemosKeymasterHello,
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
December 23, 2022 at 3:44 pm #430974
draganParticipantshop URL : https://vebprodaja.rs/prodavnica/
December 23, 2022 at 3:47 pm #430975
draganParticipantin message the log in details
December 23, 2022 at 3:59 pm #430976
Artem TemosKeymasterCould you please clarify where exactly we can see this error on your website now? Also, keep all the external plugins temporarily turned off.
December 23, 2022 at 4:07 pm #430979
draganParticipantPlease 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 3225December 23, 2022 at 4:10 pm #430980
draganParticipanton the shop page there should be 369 product visible… Divided of course in categories and so forth…
December 23, 2022 at 4:15 pm #430983
Artem TemosKeymasterPlease, disable all external plugins temporarily and switch to the parent theme so we can check.
December 23, 2022 at 4:26 pm #430987
draganParticipantSwitched to parent and disabled all non critical plugins
December 23, 2022 at 4:26 pm #430988
Artem TemosKeymasterHello,
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
December 23, 2022 at 4:29 pm #430989
draganParticipantwill 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.December 23, 2022 at 4:30 pm #430991
Artem TemosKeymasterYou can install this theme with a few clicks from the repository. We need to identify what exactly causes this issue first.
December 23, 2022 at 4:34 pm #430992
draganParticipantits done theme 22 installed and on the shop page all products are shown
Attachments:
You must be logged in to view attached files.December 23, 2022 at 4:39 pm #430996
Artem TemosKeymasterPlease, send us your FTP access as well.
Thank you in advance.
December 23, 2022 at 5:00 pm #431000
draganParticipanthi i made a staging site where you guys can test and play around to see for a solution. check details below.
December 23, 2022 at 5:14 pm #431001
Artem TemosKeymasterSorry, but we can’t connect to your server with this FTP account https://gyazo.com/b77538f22506b1fafce9594b6bbabbcb
December 23, 2022 at 5:26 pm #431003
draganParticipantbelow
December 23, 2022 at 5:30 pm #431004
Artem TemosKeymasterWe successfully connected to the server but don’t see any files there https://gyazo.com/144ce4df0ab32a4535701762781e63e6
December 23, 2022 at 5:40 pm #431008
draganParticipantare you in the correct directory
Attachments:
You must be logged in to view attached files.December 23, 2022 at 5:41 pm #431010
Artem TemosKeymasterWe don’t see any of this. When we connected to your server we see just an empty directory.
December 23, 2022 at 5:43 pm #431011
draganParticipantlet me check what the issue is in here maybe right are missing
December 23, 2022 at 6:16 pm #431018
draganParticipantwrong link took me a while to figure it out sorry now it should work cred under it
December 23, 2022 at 6:35 pm #431020
Artem TemosKeymasterHello,
We have reinstalled the theme and now it seems to work correctly. Please, test it from your end.
Kind Regards
December 23, 2022 at 6:40 pm #431021
draganParticipantnow we got WP crititcal erro on the reinstall check box below
December 23, 2022 at 6:42 pm #431022
draganParticipantBTW how to reinstall the theme ?
December 23, 2022 at 6:45 pm #431023
Artem TemosKeymasterYou need to go to Appearance -> Themes -> Add new and upload the theme archive replacing your current version.
December 23, 2022 at 7:07 pm #431025
draganParticipantok 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?
December 23, 2022 at 7:20 pm #431028
draganParticipantAfter 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.December 23, 2022 at 7:23 pm #431030
draganParticipantfound 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
December 26, 2022 at 12:27 pm #431270
Artem TemosKeymasterHello,
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
-
AuthorPosts
Tagged: critical error
- You must be logged in to create new topics. Login / Register