Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Error establishing a database connection, with godaddy business hosting

Discussion in 'Misc WordPress Requests' started by aaronwolfe02, Nov 19, 2017.

  1. aaronwolfe02

    Guest

    Error establishing a database connection, with godaddy business hosting, by aaronwolfe02

    I have looked though the forums and cant find an answer to my problems Im having.

    I have Godaddy hosting, they have had me upgrade hosting 3 times and still doesnt fix the problem.

    Im getting Error “establishing a database connection” randomly. I have contacted them a few times and after we upgraded to the premium business hosting and they said one time there was a problem with the Apache server and it had to be restarted. The next time I called they said they main sever was throwing a class 3 so it had to be restarted. None
    of which helped. I seen on another forum that it might be a brute attack as I installed Limit Login Attempts puggin. Then I disabled the access to the xmlrpc.php. Here is the code that godaddy said to provide to the WordPress forums from the server: [mysqld]
    connect_timeout = 60
    datadir = /var/lib/mysql
    innodb_additional_mem_pool_size = 10M
    innodb_buffer_pool_size = 256M
    innodb_fast_shutdown = 1
    innodb_flush_log_at_trx_commit = 0
    innodb_flush_method = O_DIRECT
    innodb_lock_wait_timeout = 50
    innodb_log_buffer_size = 4M
    innodb_log_file_size = 64M
    interactive_timeout = 60
    join_buffer_size = 10M
    key_buffer = 48M
    local-infile = 1
    #log-bin
    log_warnings = 0
    max_allowed_packet = 268435456
    max_connections = 400
    max_connect_errors = 1000
    max_user_connections = 200
    myisam-recover = FORCE
    myisam_sort_buffer_size = 32M
    net_buffer_length = 8K
    open_files_limit=50000
    query_cache_size = 32M
    read_buffer_size = 2M
    read_rnd_buffer_size = 3M
    skip-external-locking
    sort_buffer_size = 8M
    thread_cache = 100
    tmpdir = /tmp/mysqltmp/
    tmp_table_size = 24M
    transaction_isolation = READ-COMMITTED
    user=mysql
    wait_timeout = 60
    table_definition_cache = 1000
    max_heap_table_size = 24M
    default-storage-engine = MyISAM
    innodb_file_per_table=1
    performance_schema = OFF

    Here are the error from the error log.
    [08-Oct-2017 21:38:26 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php on line 162
    [08-Oct-2017 22:10:54 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 5 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php on line 162
    [08-Oct-2017 22:25:27 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 23417 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/wp-db.php on line 1173
    [08-Oct-2017 23:05:20 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/plugin.php on line 1241
    [09-Oct-2017 16:59:19 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4248 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 205
    [09-Oct-2017 17:00:38 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-refunded-order.php on line 247
    [09-Oct-2017 17:01:14 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-refunded-order.php on line 223
    [09-Oct-2017 17:02:58 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 571
    [10-Oct-2017 04:54:04 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/paypal-for-woocommerce/classes/lib/angelleye/paypal-php-library/includes/paypal.payflow.class.php on line 61
    [10-Oct-2017 06:20:58 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/class-smtp.php on line 727
    [10-Oct-2017 06:34:34 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/class-smtp.php on line 727
    [10-Oct-2017 23:08:59 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49550 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/wp-db.php on line 1254
    [10-Oct-2017 23:09:14 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49550 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/wp-db.php on line 1254
    [10-Oct-2017 23:09:27 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49550 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/wp-db.php on line 1254
    [10-Oct-2017 23:12:44 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49550 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/wp-db.php on line 1254
    [10-Oct-2017 23:12:53 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49550 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/wp-db.php on line 1254
    [11-Oct-2017 01:26:20 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [11-Oct-2017 01:26:20 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1280 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-note.php on line 90
    [11-Oct-2017 01:28:41 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [11-Oct-2017 01:28:41 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php on line 217
    [11-Oct-2017 01:40:10 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49152 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/paypal-for-woocommerce/classes/lib/angelleye/paypal-php-library/includes/paypal.class.php on line 1505
    [11-Oct-2017 01:48:01 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [11-Oct-2017 01:48:01 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3200 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/class-phpmailer.php on line 2244
    [11-Oct-2017 01:48:56 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3200 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/class-phpmailer.php on line 1569
    [11-Oct-2017 02:05:58 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [11-Oct-2017 02:05:58 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /home/awolfe23/public_html/vinylforcrafts/wp/wp-includes/class-wp-query.php on line 1670
    [17-Oct-2017 19:50:14 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-Oct-2017 21:30:06 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [18-Oct-2017 12:37:33 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [24-Oct-2017 20:53:23 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [26-Oct-2017 01:08:08 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->process_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->do_payment, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->save_payment_token, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [28-Oct-2017 06:11:07 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘1463)’ at line 5 for query
    SELECT p.ID, p.post_parent, pm.meta_value
    FROM wp_postmeta pm JOIN wp_posts p ON pm.post_id = p.ID
    WHERE pm.meta_key = ‘_wp_attached_file’
    AND p.post_type = ‘attachment’
    AND p.ID IN (,1463)
    made by require(‘wp-blog-header.php’), 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, call_user_func_array, WC_Cart_Session->get_cart_from_session, do_action(‘woocommerce_cart_loaded_from_session’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, BKSalesPopSDK\Api\BridgeApi->handle_request, BKSalesPopSDK\Api\BridgeApi->handle_api_request, BKSalesPopSDK\Api\BridgeApi->process_request, BKSalesPopSDK\Api\BridgeApi->get_products, BKSalesPopSDK\Manager\ProductManager->get_products, BKSalesPopSDK\Manager\ProductManager->get_product_images
    [30-Oct-2017 19:41:22 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.

    [19-Nov-2017 16:41:17 UTC] PHP Warning: Illegal string offset ‘cart’ in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce-abandoned-cart/woocommerce-ac.php on line 1744
    [19-Nov-2017 16:41:18 UTC] PHP Warning: Illegal string offset ‘cart’ in /home/awolfe23/public_html/vinylforcrafts/wp/wp-content/plugins/woocommerce-abandoned-cart/woocommerce-ac.php on line 1744
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.
    [19-Nov-2017 17:06:04 UTC] The WC_Order::get_item_meta function is deprecated since version 3.0. Replace with wc_get_order_item_meta.

    Error establishing a database connection, with godaddy business hosting
     
    #1

Share This Page

Web Hosting