• Resolved mainguyen0204

    (@mainguyen0204)


    Hi, I have problem when install woocommerce. Please help me.
    Thanks

    This is my woo status

    ` WordPress Environment</p> <p>WordPress address (URL): https://tqthu.dohoaweb.site<br>Site address (URL): https://tqthu.dohoaweb.site<br>WC Version: 9.5.1<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.2<br>Log Directory Writable: ?<br>WP Version: 6.7.1<br>WP Multisite: –<br>WP Memory Limit: 800 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment</p> <p>Server Info: Apache/2.4.52 (Unix) OpenSSL/1.1.1k<br>PHP Version: 8.3.10<br>PHP Post Max Size: 8 MB<br>PHP Time Limit: 600<br>PHP Max Input Vars: 1000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k</p> <p>SUHOSIN Installed: –<br>MySQL Version: 10.4.34-MariaDB<br>Max Upload Size: 8 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database</p> <p>WC Database Version: 9.5.1<br>WC Database Prefix: wp_<br>Total Database Size: 6.16MB<br>Database Data Size: 5.69MB<br>Database Index Size: 0.47MB<br>wp_woocommerce_sessions: ? Table does not exist<br>wp_woocommerce_api_keys: ? Table does not exist<br>wp_woocommerce_attribute_taxonomies: ? Table does not exist<br>wp_woocommerce_downloadable_product_permissions: ? Table does not exist<br>wp_woocommerce_order_items: ? Table does not exist<br>wp_woocommerce_order_itemmeta: ? Table does not exist<br>wp_woocommerce_tax_rates: ? Table does not exist<br>wp_woocommerce_tax_rate_locations: ? Table does not exist<br>wp_woocommerce_shipping_zones: ? Table does not exist<br>wp_woocommerce_shipping_zone_locations: ? Table does not exist<br>wp_woocommerce_shipping_zone_methods: ? Table does not exist<br>wp_woocommerce_payment_tokens: ? Table does not exist<br>wp_woocommerce_payment_tokenmeta: ? Table does not exist<br>wp_woocommerce_log: ? Table does not exist<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 4.06MB + Index: 0.06MB + Engine InnoDB<br>wp_postmeta: Data: 1.23MB + Index: 0.03MB + Engine InnoDB<br>wp_posts: Data: 0.22MB + Index: 0.06MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB Post Type Counts</p> <p>attachment: 40<br>customize_changeset: 2<br>elementor_library: 1<br>page: 8<br>post: 2<br>product: 5<br>revision: 30<br>shop_order: 3<br>wp_global_styles: 1<br>wp_navigation: 2 Security</p> <p>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (6)</p> <p>Elementor: by Elementor.com – 3.26.3<br>Google for WooCommerce: by WooCommerce – 2.9.4<br>Pinterest for WooCommerce: by WooCommerce – 1.4.14<br>Royal Elementor Addons: by WP Royal – 1.7.1006<br>TikTok: by TikTok – 1.3.0<br>WooCommerce: by Automattic – 9.5.1 Inactive Plugins (4)</p> <p>Akismet Anti-spam: Spam Protection: by Automattic – Anti-spam Team – 5.3.5<br>Hello Dolly: by Matt Mullenweg – 1.7.2<br>MailPoet: by MailPoet – 5.5.2<br>Woo Viet – WooCommerce for Vietnam: by htdat – 1.5.3 Settings</p> <p>Legacy API Enabled: –<br>Force SSL: –<br>Currency: VND (?)<br>Currency Position: right_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 0<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)</p> <p>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)</p> <p>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging</p> <p>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 894 KB WC Pages</p> <p>Shop base: #8 – /index.php/cua-hang/<br>Cart: #9 – /index.php/gio-hang/ – Contains the woocommerce/cart block<br>Checkout: #10 – /index.php/thanh-toan/ – Contains the woocommerce/checkout block<br>My account: #11 – /index.php/tai-khoan/<br>Terms and conditions: ? Page not set Theme</p> <p>Name: Twenty Twenty-Five<br>Version: 1.0<br>Author URL: https://www.remarpro.com<br>Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>Theme type: Block theme<br>WooCommerce Support: ? Not declared Templates</p> <p>Overrides: /home/tqthu/public_html/wp-content/plugins/royal-elementor-addons/includes/woocommerce/templates/cart/cart.php<br>/home/tqthu/public_html/wp-content/plugins/royal-elementor-addons/includes/woocommerce/templates/cart/mini-cart.php version 9.2.0 is out of date. The core version is 9.4.0<br>/home/tqthu/public_html/wp-content/plugins/woocommerce/templates/block-notices/error.php<br>/home/tqthu/public_html/wp-content/plugins/woocommerce/templates/block-notices/notice.php<br>/home/tqthu/public_html/wp-content/plugins/woocommerce/templates/block-notices/success.php</p> <p>Outdated Templates: ?</p> <pre class=”wp-block-code”><code> Learn how to update | Clear system status theme info cache</code></pre> <p>Admin</p> <p>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store</p> <p>Disabled Features: product-data-views<br>experimental-blocks<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br>use-wp-horizon<br>add-to-cart-with-options-stepper-layout</p> <p>Daily Cron: ? Next scheduled: 2025-01-04 13:39:15 +00:00<br>Options: ?<br>Notes:<br>Onboarding: completed Action Scheduler Status report information</p> <p>Generated at: 2025-01-03 13:59:35 +00:00<br>`


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mahfuzur Rahman(woo-hc)

    (@mahfuzurwp)

    Hi @mainguyen0204,

    Thank you for sharing the System Status Report! It looks like the required WooCommerce database tables are missing. Here’s how you can troubleshoot and resolve this issue:

    1. Reinstall WooCommerce

    • Go to Plugins > Installed Plugins, deactivate, and delete WooCommerce.
    • Reinstall and activate WooCommerce from the WordPress plugin repository.
    • Activation should recreate the missing database tables automatically.

    2. Enable Debug Mode to Check for Errors

    • Open your wp-config.php file and add the following lines:
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    • This will generate a debug.log file in the wp-content directory. Check for any database-related errors.

    3. Verify Database Permissions

    • Ensure the database user has full permissions (e.g., CREATE, ALTER, INSERT, DELETE, SELECT) on the WordPress database. If unsure, your hosting provider can confirm or adjust this.

    Once you’ve tried these steps, let me know if the issue persists. If it does, please share the contents of the debug log (wp-content/debug.log) so we can investigate further.

    Thread Starter mainguyen0204

    (@mainguyen0204)

    Hi,

    I deactive but it error

    WordPress database error:?[CREATE command denied to user 'tqthu_a'@'localhost' for table tqthu_shop.wp_e_events]
    CREATE TABLE wp_e_events ( id bigint(20) unsigned auto_increment primary key, event_data text null, created_at datetime not null ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;

    WordPress database error:?[ALTER command denied to user 'tqthu_a'@'localhost' for table tqthu_shop.wp_e_events]
    ALTER TABLE wp_e_events ADD INDEX created_at_index (created_at)

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='fetch_patterns' AND a.status IN ('in-progress', 'pending') LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON g.group_id=a.group_id WHERE 1=1 AND g.slug='gla' AND a.hook='gla/jobs/resubmit_expiring_products/start' AND a.args='[]' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON g.group_id=a.group_id WHERE 1=1 AND g.slug='gla' AND a.hook='gla/jobs/resubmit_expiring_products/start' AND a.args='[]' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON g.group_id=a.group_id WHERE 1=1 AND g.slug='gla' AND a.hook='gla/jobs/resubmit_expiring_products/create_batch' AND a.args='[]' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON g.group_id=a.group_id WHERE 1=1 AND g.slug='gla' AND a.hook='gla/jobs/resubmit_expiring_products/create_batch' AND a.args='[]' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='fetch_patterns' AND a.status IN ('in-progress', 'pending') LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='fetch_patterns' AND a.status IN ('in-progress', 'pending') LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='action_scheduler/migration_hook' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='action_scheduler/migration_hook' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_wc_admin_notes' doesn't exist]
    SELECT note_id FROM wp_wc_admin_notes WHERE type = 'survey' ORDER BY note_id ASC

    WordPress database error:?[Table 'tqthu_shop.wp_wc_admin_notes' doesn't exist]
    SELECT note_id FROM wp_wc_admin_notes WHERE name = 'surface_cart_checkout' ORDER BY note_id ASC

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='woocommerce_cleanup_draft_orders' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='woocommerce_cleanup_draft_orders' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_groups' doesn't exist]
    SELECT group_id FROM wp_actionscheduler_groups WHERE slug=''

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_groups' doesn't exist]
    SHOW FULL COLUMNS FROM wp_actionscheduler_groups

    WordPress database error:?[Table 'tqthu_shop.wp_actionscheduler_actions' doesn't exist]
    INSERT INTO wp_actionscheduler_actions ( hook, status, scheduled_date_gmt, scheduled_date_local, schedule, group_id, priority, args ) SELECT 'woocommerce_cleanup_draft_orders', 'pending', '2025-01-09 12:01:17', '2025-01-09 12:01:17', 'O:32:\"ActionScheduler_IntervalSchedule\":5:{s:22:\"\0*\0scheduled_timestamp\";i:1736424077;s:18:\"\0*\0first_timestamp\";i:1736424077;s:13:\"\0*\0recurrence\";i:86400;s:49:\"\0ActionScheduler_IntervalSchedule\0start_timestamp\";i:1736424077;s:53:\"\0ActionScheduler_IntervalSchedule\0interval_in_seconds\";i:86400;}', 0, 10, '[]' FROM DUAL WHERE ( SELECT NULL FROM DUAL ) IS NULL
    Warning: Cannot modify header information - headers already sent by (output started at /home/tqthu/public_html/wp-includes/class-wpdb.php:1845) in?/home/tqthu/public_html/wp-admin/includes/misc.php?on line?1438

    Warning: Cannot modify header information - headers already sent by (output started at /home/tqthu/public_html/wp-includes/class-wpdb.php:1845) in?/home/tqthu/public_html/wp-includes/functions.php?on line?7137

    WordPress database error:?[Table 'tqthu_shop.wp_wc_admin_notes' doesn't exist]
    SELECT note_id FROM wp_wc_admin_notes WHERE name = 'wc-update-db-reminder' ORDER BY note_id ASC
    Warning: Cannot modify header information - headers already sent by (output started at /home/tqthu/public_html/wp-includes/class-wpdb.php:1845) in?/home/tqthu/public_html/wp-admin/admin-header.php?on line?9

    WordPress database error:?[Table 'tqthu_shop.wp_woocommerce_shipping_zones' doesn't exist]
    SELECT zone_id, zone_name, zone_order FROM wp_woocommerce_shipping_zones order by zone_order ASC, zone_id ASC;

    WordPress database error:?[Table 'tqthu_shop.wp_woocommerce_shipping_zone_locations' doesn't exist]
    SELECT location_code, location_type FROM wp_woocommerce_shipping_zone_locations WHERE zone_id = 0

    WordPress database error:?[Table 'tqthu_shop.wp_woocommerce_shipping_zone_methods' doesn't exist]
    SELECT method_id, method_order, instance_id, is_enabled FROM wp_woocommerce_shipping_zone_methods WHERE zone_id = 0 AND is_enabled = 1
    Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @mainguyen0204,

    Thanks for sharing the error. Just to clarify, have you deactivated and deleted WooCommerce, then reinstalled it through the WordPress plugin repository? If not, please follow these steps:

    Deactivate all plugins on your site, then uninstall WooCommerce. Reinstall and activate only WooCommerce, leaving the other plugins uninstalled. After that, go to WooCommerce > Status and select the Tools tab. Before proceeding, make sure you have a backup of your site.

    Scroll down and find the “Update Database” option. Click “Update Database” to begin the process. Additionally, double-check that your website is connected to the correct database and that the user privileges are properly set.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.