Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Restaurant Menu Critical Fatal Error in customers view
- This topic has 12 replies, 3 voices, and was last updated 4 months, 1 week ago by J. Davis.
- May 24, 2021 at 1:29 am #1126525Jarko PiironenParticipant
I got Fatal critical error in wordpress admin page when pressing customers in the menu. I don’t have woo installed, but it should not crash. Got PHP8.
2021-05-24 11:18:26.541356 [NOTICE]  [T0] [xxx] [STDERR] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /home/xxx/public_html/wp-content/plugins/mp-restaurant-menu/classes/models/shop/reports/customer-report-class.php:182
#0 /xxx/public_html/wp-content/plugins/mp-restaurant-menu/classes/models/shop/reports/customer-report-class.php(182): count()
#1 /xxx/public_html/wp-content/plugins/mp-restaurant-menu/admin/customers/index.php(4): mp_restaurant_menu\classes\models\Customer_Reports->prepare_items()
#2 /xxx/public_html/wp-content/plugins/mp-restaurant-menu/classes/class-view.php(70): include(‘/home/khaotipth…’)
#3 /xxx/public_html/wp-content/plugins/mp-restaurant-menu/classes/controllers/class-controller-customer.php(129): mp_restaurant_menu\classes\View->render_html()
#4 /xxx/public_html/wp-includes/class-wp-hook.php(292): mp_restaurant_menu\classes\controllers\Controller_customer->action_content()
#5 /xxx/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#6 /xxx/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
#7 /xxx/public_html/wp-admin/admin.php(259): do_action()
#8 /xxx/public_html/wp-admin/edit.php(10): require_once(‘/home/khaotipth…’)May 25, 2021 at 12:28 am #1127309Andre FloresModerator
The Restaurant Menu plugin has not been tested with the PHP 8 yet, so there is no guarantee of full compatibility at the moment.
I would recommend switching to PHP 7.x in order to have the plugin fully functional.
AndreMay 25, 2021 at 2:01 am #1127366Jarko PiironenParticipant
Thank You. PHP 8 was released Nov 2020 and WordPress 5.6 Dec 2020 has PHP 8 support.
Any plans to update this plugin soon to support PHP8 ?
its the only plugin i currently have that not supporting PHP8. Thank YouJanuary 29, 2022 at 3:38 am #1251865Jarko PiironenParticipant
Also PHP 8.1 is now released November 25, 2021.
Is there any plans soon to update the plugin to support the PHP 8.x versions from deprecated warnings and critical fatal errors. ?February 1, 2022 at 5:24 am #1253147J. DavisKeymaster
I’ve forwarded your request to our developers. We will notify you if we have any news on this.
J. DavisMay 24, 2022 at 11:03 pm #1308787Jarko PiironenParticipant
Any update on this issue? Please update the plugin. ThanksMay 31, 2022 at 2:27 am #1311281J. DavisKeymaster
Unfortunately, this request has not be released yet. We will update the topic once we get any news on this. Thank you for understanding.
J. DavisOctober 21, 2022 at 5:25 am #1368130Jarko PiironenParticipant
Any update on this as PHP 7.4 has eol of 28 Nov 2022 for security updates. Please update for PHP 8.x ThanksOctober 21, 2022 at 5:47 am #1368142J. DavisKeymaster
Thanks for your update. Yes, the Hotel Booking plugin works correctly with PHP 8.x versions. This was noted in the release notes https://motopress.com/products/hotel-booking/#release-notes
Feel free to ask any additional questions.
John DavisOctober 21, 2022 at 5:52 am #1368144Jarko PiironenParticipant
Sorry you’re talking about wrong plugin as this is the Restaurant Menu forum.November 1, 2022 at 6:43 am #1371818J. DavisKeymaster
I’m sorry, there were not updates on this topic for the Restaurant Menu plugin.
John DavisJanuary 29, 2023 at 7:49 am #1407845Jarko PiironenParticipant
Any ETA when this plugin and Restaurant Menu Toppings will support PHP 8.0, 8.1 and 8.2 as PHP 8.2 is released on December 8, 2022.
Many thanks!January 31, 2023 at 2:05 am #1408559J. DavisKeymaster
Thanks for your feedback. Unfortunately, I can not know the approximate date when this is fixed, however, we will notify you when we have any news on this task. Thanks for your feedback.
- You must be logged in to reply to this topic.