Log file filled with the same two errors
-
Recently I have uploaded the digicution plugin to one of my sites, and from the start it has pretty much spammed the log file on the server with the same two errors. They are as follows:
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 ” at line 1 for query DELETE FROM wp_dt_twitter WHERE tweetid= made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/<my-theme>/single.php’), dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, dt_twitter_widget->widget, dt_twitter, dt_twitter_update, referer: <my-site>
and
PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /<site-directory>/wp-content/plugins/digicution-simple-twitter-feed/includes/dt-display.php on line 224, referer: <my-site>
This problem persisted after deleting the files and downloading new files from here, even though I have no problems on a different site, using the same plugin (although on that site, I’m using the <?php dt_twitter(); ?> bit to access it, and on this current one, I’m using it as a sidebar widget (which also reminds me of a different problem, that when used on the other website, links are just gone in the tweet, whereas on this one, links are shown with exactly the same settings in the backend)).
This is a perplexing error since I can’t really find any major problems in the code, which makes me think that something else is causing this problem, and also the fact that the tweets are displayed perfectly.
Thanks for the awesome plugin, and hope to see a response soon!
Tonyhttps://www.ads-software.com/plugins/digicution-simple-twitter-feed/
- The topic ‘Log file filled with the same two errors’ is closed to new replies.