Non-static method Routeapp_Public::fillMetaData() cannot be called statically
-
We’re getting this error on POST requests to
/wp-admin/admin-ajax.php?_fs_blog_admin=true
:PHP Fatal error: Uncaught Error: Non-static method Routeapp_Public::fillMetaData() cannot be called statically in /var/www/html/wp-content/plugins/routeapp/public/class-routeapp-public.php:249 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(309): Routeapp_Public::routeapp_ajax_add_order_item_meta(389708, Object(WC_Order_Item_Product)) #1 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(961): do_action('woocommerce_aja...', 389708, Object(WC_Order_Item_Product), Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order)) #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(897): WC_AJAX::maybe_add_order_item(552382, '', Array) #5 /var/www/html/wp-includes/class-wp-hook.php(307): WC_AJAX::add_order_item('') #6 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #7 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #8 /var/www/html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...') #9 {main} thrown in /var/www/html/wp-content/plugins/routeapp/public/class-routeapp-public.php on line 249
WordPress 6.0
Server architecture Linux 5.13.0-1022-aws x86_64
Web server Apache/2.4.53 (Debian)
PHP version 8.0.19 (Supports 64bit values)
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Non-static method Routeapp_Public::fillMetaData() cannot be called statically’ is closed to new replies.