[Fatal Error] OrderList
-
J’ai un attribut “Taille” qui me permet de varianter un produit. Depuis quelques jours, je ne peux plus accéder à la liste des commandes.
En activant le debug WP, voici la stacktrace :
[13-Sep-2024 05:13:20 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_name() on string in /data/www/vhosts/--------/httpdocs/wp-content/plugins/collect-and-deliver-interface-for-woocommerce/includes/CDI-Orderlist.php:273
Stack trace:
#0 /data/www/vhosts/-------/httpdocs/wp-content/plugins/collect-and-deliver-interface-for-woocommerce/includes/CDI-Orderlist.php(73): cdi_c_Orderlist_Action::cdi_init_metabox()
#1 /data/www/vhosts/------/httpdocs/wp-includes/class-wp-hook.php(324): cdi_c_Orderlist_Action::cdi_woocommerce_admin_order_buyer_name()
#2 /data/www/vhosts/--------/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /data/www/vhosts/---------/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php(971): apply_filters()
#4 /data/www/vhosts/----------/httpdocs/wp-content/plugins/woocommerce/includes/admin/list-tables/class-wc-admin-list-table-orders.php(176): Automattic\WooCommerce\Internal\Admin\Orders\ListTable->render_order_number_column()
#5 /data/www/vhosts/ in /data/www/vhosts/---------/httpdocs/wp-content/plugins/collect-and-deliver-interface-for-woocommerce/includes/CDI-Orderlist.php on line 273J’ai par ailleurs ajouter un debug dans le plugin au niveau de l’erreur.
La variable “$attribut” n’a pas l’air d’être un objet comme attendu… Est-ce un problème de config ?[2024-09-13 05:16:15] *** LOG CDI(‘tec’) - LINE:273 FILE:/includes/CDI-Orderlist.php ***: 4-parts
[2024-09-13 05:17:27] *** LOG CDI(‘tec’) - LINE:273 FILE:/includes/CDI-Orderlist.php ***: Array
(
[pa_taille] => 4-parts
)
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.