EMar
Forum Replies Created
-
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] table name update failedHi,
I have it on my own server, Linux with Centos Web Panel,
Have other wp sites on there, forget how I did the prefix on those.
Think I did a fresh install for other site.I’ll look into it further.
Thanks
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] table name update failedOk, I have debug turned on now,
Then I did a database backup to UpdraftPlus and hit changed database prefix.
There is nothing in the debug log when checking afterwards.
I only had to set the prefix back in wp-config.php to get the site working again.
Then I went into UpDraft and did database restore from saved file.Starting DB prefix change operations..... Your WordPress system has a total of 22 tables and your new DB prefix will be: br_ A backup copy of your wp-config.php file was created successfully! <code>wp_aiowps_audit_log</code> table name update failed <code>wp_aiowps_debug_log</code> table name update failed <code>wp_aiowps_events</code> table name update failed <code>wp_aiowps_global_meta</code> table name update failed <code>wp_aiowps_logged_in_users</code> table name update failed <code>wp_aiowps_login_lockdown</code> table name update failed <code>wp_aiowps_message_store</code> table name update failed <code>wp_aiowps_permanent_block</code> table name update failed <code>wp_commentmeta</code> table name update failed <code>wp_comments</code> table name update failed <code>wp_links</code> table name update failed <code>wp_litespeed_url</code> table name update failed <code>wp_litespeed_url_file</code> table name update failed <code>wp_options</code> table name update failed <code>wp_postmeta</code> table name update failed <code>wp_posts</code> table name update failed <code>wp_term_relationships</code> table name update failed <code>wp_term_taxonomy</code> table name update failed <code>wp_termmeta</code> table name update failed <code>wp_terms</code> table name update failed <code>wp_usermeta</code> table name update failed <code>wp_users</code> table name update failed Please change the prefix manually for the above tables to: br_ Checking for MySQL tables of type "view"..... wp-config.php file was updated successfully! Update of table br_options failed: unable to change wp_user_roles to br_user_roles The usermeta table records which had references to the old DB prefix were updated successfully! The database prefix change tasks have been completed.
@majick thanks the second option did the job.
Hi @majick no worries,
I tried that code in Additional CSS and theme custom CSS, but no luck.
@rizaardiyanto no worries, thanks
Forum: Plugins
In reply to: [Contact Form 7] reCAPTCHA only on contact form page instead of every page@takayukister Thanks,
So just hide it completely with .grecaptcha-badge { visibility: hidden; }
I thought the idea was to display the Recaptcha on the contact form page only?
That’s how it worked on other contact forms.Forum: Plugins
In reply to: [WooCommerce] Recovery Mode: This plugin failed to load properlyProblem solved,
Had to give the database user full permissions then run command.
[root@sv756 /]# su domain-user [[root@sv756 /]$ cd /home/domain-user/public_html [[root@sv756 public_html]$ wp action-scheduler fix-schema Success: Registered schema for ActionScheduler_LoggerSchema Success: Registered schema for ActionScheduler_StoreSchema
Priority column finally added to database.
Plugins enable without critical errors.Forum: Plugins
In reply to: [WooCommerce] Recovery Mode: This plugin failed to load properlyI guess this is the result I needed:
[root@sv756 /]# su domain-user
[root@sv756 /]$ /home/domain-user/public_html
bash: /home/domain-user/public_html: Is a directory
[[root@sv756 /]$ cd /home/domain-user/public_html
[[root@sv756 public_html]$ wp action-scheduler fix-schema
Success: Registered schema for ActionScheduler_LoggerSchema
Success: Registered schema for ActionScheduler_StoreSchemaStill can’t enable WooCommerce without critical error.
Forum: Plugins
In reply to: [WooCommerce] Recovery Mode: This plugin failed to load properlyThat priority column is still missing in wp_actionscheduler_actions table.
@babylon1999 tried running that command, no difference with WooCommerce,
We had to grant ssh access to the user for the affected domain.[root@sv756 /]# sudo -u user -i -wp action-scheduler fix-schema sudo: invalid option -- 'w' usage: sudo -h | -K | -k | -V usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user] usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command] usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user] file ...
not sure what else to try, too tired, back later.
Forum: Plugins
In reply to: [WooCommerce] Recovery Mode: This plugin failed to load properly@babylon1999 Oh ok, I’ll try install it as I’m managing the servers.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Recovery Mode: This plugin failed to load properlyThat was my next question, at least I know it’s not just me.
Just run this command in PHPMyAdmin as a query?Forum: Plugins
In reply to: [WooCommerce] Recovery Mode: This plugin failed to load properly@shameemreza I’ll try it again myself,
I already gave Ali staff access to the server and WordPress + hosting.
They had all the plugins disabled, had debug mode enabled etc.
They suggested the error was coming from WooCommerce, not Ali plugin.Don’t see the action schedule warnings any more,
I removed the 3 old schedule warnings with Crontrol plugin.Disabled all plugins and tried to enable WooCommerce, critical error.
Back to email and into recovery mode again.
EDIT
The only plugin that’s enabled right now is WooCommerce.
An eCommerce toolkit that helps you sell anything. Beautifully. Version 7.9.0 | By Automattic | View details This plugin failed to load properly and is paused during recovery mode. An error of type E_ERROR was caused in line 44 of the file /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php. Error message: Uncaught RuntimeException: Error saving action: Error saving action: Unknown column 'priority' in 'field list' in /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action() #1 /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(327): ActionScheduler_HybridStore->save_action() #2 /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(315): ActionScheduler_ActionFactory->store() #3 /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(102): ActionScheduler_ActionFactory->create() #4 /home/ui/public_html/wp-content/plugins/woocommerce/packages/a
Everything in the debug.log seems to be related to Action Scheduler directory.
[03-Aug-2023 21:12:09 UTC] WordPress database error Unknown column 'priority' in 'field list' for query INSERT INTO wp_actionscheduler_actions ( <code>hook</code>, <code>status</code>, <code>scheduled_date_gmt</code>, <code>scheduled_date_local</code>, <code>schedule</code>, <code>group_id</code>, <code>priority</code>, <code>args</code> ) SELECT 'action_scheduler/migration_hook', 'pending', '2023-08-03 21:13:09', '2023-08-03 22:13:09', 'O:30:\"ActionScheduler_SimpleSchedule\":2:{s:22:\"\0*\0scheduled_timestamp\";i:1691097189;s:41:\"\0ActionScheduler_SimpleSchedule\0timestamp\";i:1691097189;}', 1, 10, '[]' FROM DUAL WHERE ( SELECT NULL FROM DUAL ) IS NULL made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_schedule_single_action, ActionScheduler_ActionFactory->create, ActionScheduler_ActionFactory->store, ActionScheduler_HybridStore->save_action, ActionScheduler_DBStoreMigrator->save_action, ActionScheduler_DBStore->save_action, ActionScheduler_DBStore->save_action_to_db [03-Aug-2023 21:12:09 UTC] PHP Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Unknown column 'priority' in 'field list' in /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action() #1 /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(327): ActionScheduler_HybridStore->save_action() #2 /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(315): ActionScheduler_ActionFactory->store() #3 /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(102): ActionScheduler_ActionFactory->create() #4 /home/ui/public_html/wp-content/plugins/woocommerce/packages/a in /home/ui/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44
I’ll find a free action scheduler and see what happens.
Well that went pare shaped quickly, installed Action Scheduler,
And got almost the same error messages as WooCommerce.@nicw thanks, hope there’s a fix soon.
@nicw) thanks for the update, you mean Rank Math SEO or?
I do have an Action Schedules failed warning in WordPress.
https://snipboard.io/Mh3fLI.jpg
I don’t see Action Scheduler under Tools, I’ll try RankMath.
Have Crontrol installed but wasn’t sure what I needed to do.Somehow Woocommerce is running alongside AliDrop Woo again,
But I can’t touch products links in the left menu or I’ll get critical errors.I’ll try rebuild missing tables in db as suggested.