Compatibilidade com PHP 8.0
-
Boa noite,
Após mudar a vers?o php no servidor de alojamento da vers?o 7.4 para a 8.0.1, passei a receber este e-mail:Exmo(a) Sr(a),
A euPago informa que a comunica??o referente à referência: **** no valor de **** EUR associada ao canal: WooCommerce n?o foi comunicada com sucesso.Informa??es sobre a referência:
Servi?o: MB Way
Data: 2021-03-29 23:19:26
ID Transa??o: *****
Identificador (Nota): ****Resposta da comunica??o: Erro 500`
————————————
No log de registo do woocommerce está o seguinte:2021-03-29T17:02:40+00:00 CRITICAL Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, class ADP\BaseVersion\Includes\Frontend does not have a method “woocommerce_checkout_update_order_review” in /home/***********/public_html/wp-includes/class-wp-hook.php:292
Stack trace:
#0 /********/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#1 /********/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
#2 /********/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(300): do_action()
#3 /********/public_html/wp-includes/class-wp-hook.php(292): WC_AJAX::update_order_review()
#4 /********/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#5 /********/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
#6 /********/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action()
#7 /********/wp-includes/class-wp-hook.php(292): WC_AJAX::do_wc_ajax()
#8 /********/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#9 /********/wp-includes/plugin.php(484): WP_Hook->do_action()
#10 /********/public_html/wp-includes/template-loader.php(13): do_action()
#11 /********/public_html/wp-blog-header.php(19): require_once(‘/home/********…’)
#12 /********/public_html/index.php(17): require(‘/********…’)
#13 {main}
thrown em /********/public_html/wp-includes/class-wp-hook.php na linha 292`
————————O pagamento é recebido mas a encomenda n?o é atualizada.
Obrigado
- The topic ‘Compatibilidade com PHP 8.0’ is closed to new replies.