Title: JSON.parse error
Last modified: July 15, 2021

---

# JSON.parse error

 *  Resolved [slalani](https://wordpress.org/support/users/slalani/)
 * (@slalani)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/json-parse-error-9/)
 * I have just installed SG Security plugin on WordPress setup. After trying to 
   visit the dashboard, I’m displayed this error
 * > JSON.parse: unexpected character at line 1 column 1 of the JSON data
 * Screenshot: [https://prnt.sc/1bdsi9h](https://prnt.sc/1bdsi9h)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [4 years, 11 months ago](https://wordpress.org/support/topic/json-parse-error-9/#post-14663562)
 * Hey [@slalani](https://wordpress.org/support/users/slalani/)
 * Would it be possible to provide your site url, please?
 * Regards,
    Stanimir
 *  Thread Starter [slalani](https://wordpress.org/support/users/slalani/)
 * (@slalani)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/json-parse-error-9/#post-14663649)
 * Hi [@sstoqnov](https://wordpress.org/support/users/sstoqnov/)
 * I restored the last backup from my Siteground dashboard and installed the plugin
   again, and this seems to have fixed the problem.
 * I don’t know what caused the problem in the first place. But thank you for your
   prompt reply.
 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [4 years, 11 months ago](https://wordpress.org/support/topic/json-parse-error-9/#post-14663654)
 * Hey [@slalani](https://wordpress.org/support/users/slalani/)
 * Please check the error_log file in your public_html folder for more details about
   the issue.
 * Regards,
    Stanimir
 *  Thread Starter [slalani](https://wordpress.org/support/users/slalani/)
 * (@slalani)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/json-parse-error-9/#post-14663710)
 * Thanks [@sstoqnov](https://wordpress.org/support/users/sstoqnov/)
 * Here is a dump of the log
 *     ```
       [15-Jul-2021 06:39:15 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 ') hci_termmeta.meta_key = 'order' OR hci_termmeta.meta_key IS NULL )
       ) ORDER BY ' at line 2 for query SELECT DISTINCT t.term_id, tt.parent, tt.count, tt.taxonomy FROM hci_terms AS t  LEFT JOIN hci_termmeta ON ( t.term_id = hci_termmeta.term_id AND hci_termmeta.meta_key='order') INNER JOIN hci_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('product_cat') AND ( 
         ) hci_termmeta.meta_key = 'order' OR hci_termmeta.meta_key IS NULL )
       ) ORDER BY hci_termmeta.meta_value+0 ASC, t.name ASC  made by do_action_ref_array('generate_category_lookup_table'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Admin\CategoryLookup->regenerate, get_terms, WP_Term_Query->query, WP_Term_Query->get_terms
       [15-Jul-2021 08:57:36 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 46447276840 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 08:57:36 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 46447276840 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 08:58:10 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 38743650032 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 08:58:13 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 46447276840 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 08:58:13 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 46447276840 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 09:00:34 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 21666586884 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 09:00:34 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 21666586884 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 09:00:34 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 21666586884 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 09:02:27 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 21563653636 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 09:10:24 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 43104389116 bytes) in /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 476
       [15-Jul-2021 09:42:51 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM <code>hci_options</code> WHERE <code>option_name</code> = '_transient_wc_onboarding_product_data' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, rest_get_server, do_action('rest_api_init'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Admin\API\Init->rest_api_init, Automattic\WooCommerce\Admin\API\OnboardingProfile->register_routes, Automattic\WooCommerce\Admin\API\OnboardingProfile->get_collection_params, Automattic\WooCommerce\Admin\API\OnboardingProfile::get_profile_properties, Automattic\WooCommerce\Admin\Features\Onboarding::get_allowed_product_types, Automattic\WooCommerce\Admin\Features\Onboarding::append_product_data, get_transient, delete_option
       ```
   
 * Looks like the error was caused by the WooCommerce plugin? I had updated this
   plugin before installing the SG Security plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘JSON.parse error’ is closed to new replies.

 * ![](https://ps.w.org/sg-security/assets/icon-256x256.gif?rev=2971855)
 * [Security Optimizer - The All-In-One Protection Plugin](https://wordpress.org/plugins/sg-security/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-security/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-security/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [slalani](https://wordpress.org/support/users/slalani/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/json-parse-error-9/#post-14663710)
 * Status: resolved