Run Once Snippets Stopped Working
-
Help:
I have been using code snippets for a variety of reasons.
It has been a spectacular plugin!!!
Until…
I noticed that it stopped working with a snippet I use to update the options table.
I have put together a minimalist snippet to test (see below).
When I save it and Run Once, messages appear that ‘Snippet added and executed’
However, the database was not updated.
No errors are visible or written to the error log files.
The remainder of the website is working as expected.
I have tried:
– setting WP_DEBUG to true
– viewing errors and logs in QM Monitor
– Turning off ALL plugins
– Deactivating, Uninstalling and Reinstalling the Code Snippets plugin
I would really, really appreciate your help in troubleshooting and resolving this.Bob
———————————————-
// Minimal Snippet to Run Once (Note: reverse single quotes added in copy/paste$scc_bob = array( 'first' => 'Redrock', 'last' => 'Bob' ); //Update entire array update_option('scc_bob', $scc_bob);
- The topic ‘Run Once Snippets Stopped Working’ is closed to new replies.