mcseem42
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [Meta for WooCommerce] PHP Fatal errorHi!
I debugged this error and saw that the problem is in this
Admin.php:1143 global $post;
It doesn’t work, this$postreturns my Size Chart for this product. I removedglobal $postand added instead$post_id = $_REQUEST['post']; $post = get_post( $post_id );The error has been corrected.
Good luck!Forum: Plugins
In reply to: [Meta for WooCommerce] PHP Fatal erroroh sure
screenshot: https://snipboard.io/C679md.jpg
system report: https://pastebin.com/pBCVfSxV
last log:2022-12-01T15:24:31+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WooCommerce\Facebook\Admin\Products::render_google_product_category_fields_and_enhanced_attributes() must be an instance of WC_Product, bool given, called in /home/erd/web/lee/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin.php on line 1256 and defined in /home/erd/web/lee/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Products.php:44 Stack trace: #0 /home/erd/web/lee/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin.php(1256): WooCommerce\Facebook\Admin\Products::render_google_product_category_fields_and_enhanced_attributes() #1 /home/erd/web/lee/public_html/wp-includes/class-wp-hook.php(308): WooCommerce\Facebook\Admin->add_product_settings_tab_content() #2 /home/erd/web/lee/public_html/wp-includes/class-wp-hook.php(33 in /home/erd/web/lee/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Products.php on line 44 2022-12-01T15:40:33+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WooCommerce\Facebook\Admin\Products::render_google_product_category_fields_and_enhanced_attributes() must be an instance of WC_Product, bool given, called in /home/erd/web/lee/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin.php on line 1256 and defined in /home/erd/web/lee/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Products.php:44 Stack trace: #0 /home/erd/web/lee/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin.php(1256): WooCommerce\Facebook\Admin\Products::render_google_product_category_fields_and_enhanced_attributes() #1 /home/erd/web/lee/public_html/wp-includes/class-wp-hook.php(308): WooCommerce\Facebook\Admin->add_product_settings_tab_content() #2 /home/erd/web/lee/public_html/wp-includes/class-wp-hook.php(33 in /home/erd/web/lee/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Products.php on line 44- This reply was modified 3 years, 5 months ago by mcseem42.
Viewing 2 replies - 1 through 2 (of 2 total)