Servor Error 500
-
Hi !
I have a website translated with TranslatePress plugin, in 2 languages, Fr and En.
Fr is the default language.I have a Servor error 500 only when I switch to En. Fr works well.
I did all the things you can do in this case, edit the .htaccess, php.ini etc…
Finally, I found someone in a thread, who has the same problem because of a missing column in the DB.
I launched the debug_mode, and I found the same problem (but not with the same column/table). Here’s my debug log :WordPress Database Error
Unknown column ‘gross_total’ in ‘wp_wc_order_stats’ for the request ALTER TABLE wp_wc_order_stats CHANGE COLUMNgross_totaltotal_salesdouble DEFAULT 0 NOT NULLdone by do_action_ref_array(‘action_scheduler_run_queue’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Action->execute, do_action_ref_array(‘woocommerce_run_update_callback’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::run_update_callback, wc_admin_update_0230_rename_gross_total`
But if the problem is “wp_wc_order_stats”, I cant understand why the problem is only in English and not in French… Maybe someone will know here ?
And just to let you know, on the other thread, the missing column was “batch_id” in “wp_292096_icl_translation_status” and the supporter give the following request, witch solved the problem.
ALTER TABLEwp_292096_icl_translation_statusADDbatch_idint(11) NOT NULL DEFAULT ‘0’;Thank you very much for your help ! 🙂
The topic ‘Servor Error 500’ is closed to new replies.