Critical error
-
I’m using PHP 7.4 and getting critical error with this plugin and WooCommerce 6.1.
Has it been tested with WC 6.1 and the latest WordPress (5.8.3)?
I’ve had to disable it for now. The critical error only appears when I open the page editor in WP Admin.
The page editor uses elementor.
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in plugins/products-per-page-for-woocommerce/includes/class-alg-wc-products-per-page-core.php:456\nStack trace:\n#0 plugins/products-per-page-for-woocommerce/includes/class-alg-wc-products-per-page-core.php(441): Alg_WC_Products_Per_Page_Core->get_products_per_page()\n#1 wp-includes/class-wp-hook.php(305): Alg_WC_Products_Per_Page_Core->set_products_per_page_query_arg()\n#2 wp-includes/plugin.php(189): WP_Hook->apply_filters()\n#3 plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(235): apply_filters()\n#4 plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(60): W...', referer: wp-admin/edit.php?post_type=page
- The topic ‘Critical error’ is closed to new replies.