Errors in Snippet Selector & new version of require_once files don't get loaded
-
I’ve been using PHP Snippets to create data-driven pages on my WordPress site, connecting to a MySQL database. Love it! Very easy this way to create dynamic pages within the design of my website.
Sadly, since Thursday, there’s a strange problem going on, consisting of two parts:
1. When I use the TinyMCE button to select a snippet, my snippet list is preceded by a long list of errors. To be precise: seven repetitions of these two lines:
Warning/home/floris/domains/villadiodati.com/public_html/wp-content/plugins/php-snippets/includes/Base.php65
Warning/home/floris/domains/villadiodati.com/public_html/wp-content/plugins/php-snippets/includes/Base.php66
2. One of the source files I require_once in all my snippets, the source file that connects to my database and contains all the database functions, keeps getting loaded in the old Thursday afternoon version. No changes or new functions are found any longer, even though I can verify that the new version is up. If I add a new function, it’s reported as ‘Undefined’; if I change a function, the old version keeps being run. It’s as if the old versions of my require_once source files have been cached.
Could the two problems be related somehow?
- The topic ‘Errors in Snippet Selector & new version of require_once files don't get loaded’ is closed to new replies.