plugin create “Fatat error” on web site
-
Hi,
I have received this email from WordPress. It seems that the plugin creates a Fatal error on my customer web site. But for the moment the web site is ok. Can you please tell me what can be the problem ?
WordPress version 6.5.5
Active theme: Divi Community Child Theme (version 1.1)
Current extension: ELEX WooCommerce Role-based Pricing Plugin & WooCommerce Catalog Mode (version 2.9.5)
PHP version 8.1.29
Here is the email received :
WordPress has a native feature to detect if a plugin or theme is causing a fatal error on your site, and notifies you with this automatic email. Here, WordPress found an error with one of your plugins, “ELEX WooCommerce Role-based Pricing Plugin & WooCommerce Catalog Mode”. Start by visiting your site (https://cadraven.com/) to check for any visible issues. Next, visit the page where an error was noted (https://cadraven.com/wp-admin/edit.php?s=reassort&post_status=all&post_type=product&action=-1&product_type&stock_status&paged=1&action2=-1) and check for any issues visible. Please contact your hosting provider for assistance in resolving this issue. If your site seems broken or you can’t access your dashboard normally, WordPress now has a “recovery mode”. This allows you to connect securely to your dashboard to find the source of the problem. https://cadraven.com/wp-login.php?action=enter_recovery_mode&rm_token=Fs7W7UXFLIF8rMs4OB4lFV&rm_key=vx5wNl5swCJoXHhb1Yg8XC To keep your site safe, this link will expire in 1 day. Don’t worry though: a new link will be sent to you if the error appears again.Error details ====================== An error of type E_ERROR was caused in line 1201 of file /home/cadraven/public_html/wp-content/plugins/elex-catmode-rolebased-price/includes/elex-price-discount-admin.php. Error message: Uncaught DivisionByZeroError: Division by zero in /home/cadraven/public_html/wp-content/plugins/elex-catmode-rolebased-price/includes/elex-price-discount-admin.php:1201 Stack trace:
#0 /home/cadraven/public_html/wp-includes/class-wp-hook.php(324): Elex_Price_Discount_Admin->elex_rp_get_price(‘0.00’, Object(WC_Product_Woosb))
#1 /home/cadraven/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘0.00’, Array)
#2 /home/cadraven/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(884): apply_filters(‘woocommerce_pro…’, ‘0.00’, Object(WC_Product_Woosb))
#3 /home/cadraven/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(280): WC_Data->get_prop(‘regular_price’, ‘view’)
#4 /home/cadraven/public_html/wp-content/plugins/woocommerce/includes/admin/list-tables/class-wc-admin-list-table-products.php(184): WC_Product->get_regular_price()
#5 /home/cadraven/public_html/wp-content/plugins/woocommerce/includes/admin/list-tables/abstract-class-wc-admin-list-table.php(261): WC_Admin_List_Table_Products->render_name_column()
#6 /home/cadraven/public_html/wp-includes/class-wp-hook.php(324): WC_Admin_List_Table->render_columns(‘name’, 274041)
#7 /home/cadraven/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#8 /home/cadraven/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/cadraven/public_html/wp-admin/includes/class-wp-posts-list-table.php(1398): do_action(‘manage_product_…’, ‘name’, 274041)
#10 /home/cadraven/public_html/wp-admin/includes/class-wp-list-table.php(1796): WP_Posts_List_Table->column_default(Object(WP_Post), ‘name’)
#11 /home/cadraven/public_html/wp-admin/includes/class-wp-posts-list-table.php(1432): WP_List_Table->single_row_columns(Object(WP_Post))
#12 /home/cadraven/public_html/wp-admin/includes/class-wp-posts-list-table.php(834): WP_Posts_List_Table->single_row(Object(WP_Post), 0)
#13 /home/cadraven/public_html/wp-admin/includes/class-wp-posts-list-table.php(810): WP_Posts_List_Table->_display_rows(Array, 0)
#14 /home/cadraven/public_html/wp-admin/includes/class-wp-list-table.php(1706): WP_Posts_List_Table->display_rows()
#15 /home/cadraven/public_html/wp-admin/includes/class-wp-list-table.php(1633): WP_List_Table->display_rows_or_placeholder()
#16 /home/cadraven/public_html/wp-admin/edit.php(503): WP_List_Table->display()
#17 {main}
thrownThe page I need help with: [log in to see the link]
The topic ‘plugin create “Fatat error” on web site’ is closed to new replies.