This is a great plugin. Perfect for our client who has a limitation on what they can deliver per day.
Unfortunately, I’ve found a PHP error. Call to undefined function Nexcess\LimitOrders\wc_has_notice()
This seems to happen when the limit for orders has been reached and I go to the backend products page.
I have updated everything to the latest versions. Using PHP 7.2.29.
Here is the full traceback:
[16-Apr-2020 09:51:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function Nexcess\LimitOrders\wc_has_notice() in /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-content/plugins/limit-orders/src/OrderLimiter.php:295 Stack trace: #0 /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-includes/class-wp-hook.php(287): Nexcess\LimitOrders\OrderLimiter->customer_notice(Object(WP)) #1 /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-includes/plugin.php(544): WP_Hook->do_action(Array) #3 /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-includes/class-wp.php(748): do_action_ref_array('wp', Array) #4 /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-includes/functions.php(1274): WP->main(Array) #5 /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-admin/includes/post.php(1190): wp(Array) #6 /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-admin/includes/class-wp-posts-list-table.php(147): wp_edit_posts_query() # in /var/www/vhosts/draycottnurseries.co.uk/httpdocs/wp-content/plugins/limit-orders/src/OrderLimiter.php on line 295
The page I need help with: [log in to see the link]
- The topic ‘PHP Call to undefined function’ is closed to new replies.