• qasimbaqar

    (@qasimbaqar)


    Hi , I am Getting these Error in my Log File Which is resulting to The Eccess Physical memory with Error 503 Database Connection.

    Kindly provide what can i do to resolve this Issue

    Log Errors:

    
    [09-Feb-2020 18:45:51 UTC] WordPress database error Lost connection to MySQL server during query for query 
                            SELECT meta_key, meta_id
                            FROM wp_postmeta
                            WHERE <code>meta_key</code> LIKE '%_wcct_goaldeal_%'
                            AND <code>meta_key</code> NOT LIKE '%_wcct_goaldeal_sold%'
                            ORDER BY meta_id ASC
                            LIMIT 0, 1000
                             made by do_action_ref_array('wcct_clear_goaldeal_stock_meta_keys'), WP_Hook->do_action, WP_Hook->apply_filters, WCCT_Common::wcct_clear_goaldeal_stock_meta_keys
    [10-Feb-2020 08:45:07 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'WC_Gateway_Your_Gateway' does not have a method 'email_instructions' in /home/i1mkxp3g2rma/public_html/wp-includes/class-wp-hook.php on line 290
    [10-Feb-2020 08:45:07 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'WC_Gateway_Your_Gateway' does not have a method 'email_instructions' in /home/i1mkxp3g2rma/public_html/wp-includes/class-wp-hook.php on line 290

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • lcf

    (@lcf)

    check and make sure the database is working
    it could be busy server that result database connection error

    Thread Starter qasimbaqar

    (@qasimbaqar)

    Database is working fine. This error is coming due to traffic and it’s come sometime. So is there anything which this error should not come

    lcf

    (@lcf)

    when database server is busy and cannot handle incoming traffic then you will get error. You can optimise database performance or upgrade database server.

    Thread Starter qasimbaqar

    (@qasimbaqar)

    Thanks. Pardon me I an noob can you please tell what plugin should i use to optimize my database. As I am using Cloud Fare and WP Super Cache. Does WP Super Cache Plugin optimize the Database? please Suggest.

    lcf

    (@lcf)

    WP Super Cache plugin does not optimise database

    try https://www.ads-software.com/plugins/wp-optimize/

    backup first!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress database error Lost connection to MySQL server during query for query’ is closed to new replies.