faulty code in StatCounter causes php error
-
Have installed the BPS Pro plugin that monitors numerous functions of my site. Receiving numerous php errors reported related to the StatCounter. Posted the issue in the AIT Forum and the reply is as follows:
These php errors look like standard coding issues that need to be fixed in the stats-counter plugin. PHP Warning errors are not considered critical errors, but you should get them fixed ASAP. Send/Post these PHP errors to the stats-counter plugin folks so they can take care of whatever coding issues need to be fixed.
Sample of current StatCounter errors on my site:
[19-Nov-2017 12:28:55 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 'AND option_value < 1511094531' at line 1 for query SELECT option_name FROM qxd_options WHERE option_name LIKE '_transient_timeout_wpsso_%'; AND option_value < 1511094531; made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WpssoUtil->delete_expired_db_transients, WpssoUtil->get_db_transient_keys [19-Nov-2017 12:29:14 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 'AND option_value < 1511094552' at line 1 for query SELECT option_name FROM qxd_options WHERE option_name LIKE '_transient_timeout_wpsso_%'; AND option_value < 1511094552; made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WpssoUtil->delete_expired_db_transients, WpssoUtil->get_db_transient_keys [19-Nov-2017 12:52:29 UTC] PHP Warning: preg_replace(): Compilation failed: nothing to repeat at offset 90 in /home3/abzutwoc/public_html/wp-content/plugins/jetpack/class.photon.php on line 331 [19-Nov-2017 18:16:12 UTC] PHP Warning: unlink(/home3/abzutwoc/public_html/wp-content/plugins/stats-counter/flag_init): No such file or directory in /home3/abzutwoc/public_html/wp-content/plugins/stats-counter/wpadm-class-wp.php on line 778 [19-Nov-2017 20:52:18 UTC] PHP Warning: preg_replace(): Compilation failed: nothing to repeat at offset 90 in /home3/abzutwoc/public_html/wp-content/plugins/jetpack/class.photon.php on line 331 [19-Nov-2017 21:45:05 UTC] PHP Warning: unlink(/home3/abzutwoc/public_html/wp-content/plugins/stats-counter/flag_init): No such file or directory in /home3/abzutwoc/public_html/wp-content/plugins/stats-counter/wpadm-class-wp.php on line 778 [19-Nov-2017 22:14:11 UTC] PHP Warning: unlink(/home3/abzutwoc/public_html/wp-content/plugins/stats-counter/flag_init): No such file or directory in /home3/abzutwoc/public_html/wp-content/plugins/stats-counter/wpadm-class-wp.php on line 778 [20-Nov-2017 00:28:21 UTC] PHP Warning: unlink(/home3/abzutwoc/public_html/wp-content/plugins/stats-counter/flag_init): No such file or directory in /home3/abzutwoc/public_html/wp-content/plugins/stats-counter/wpadm-class-wp.php on line 778 [20-Nov-2017 09:36:38 UTC] PHP Warning: unlink(/home3/abzutwoc/public_html/wp-content/plugins/stats-counter/flag_init): No such file or directory in /home3/abzutwoc/public_html/wp-content/plugins/stats-counter/wpadm-class-wp.php on line 778
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘faulty code in StatCounter causes php error’ is closed to new replies.