Undefined variable: snippet
-
Great plugin, thanks! A good little time saver.
I’m using it a little differently on a website, where I had to quickly come up with a per-page solution for putting some code in the footer of selected pages. I use the post ID as part of the snippet title, which works great.
For pages with no snippet, e.g. post ID = 12 and there is no snippet-12, an error is logged for “Undefined variable: snippet”, post-snippets.php on line 180. If you could please set
$snippet = ''at the top of that function, it would stop filling the logs with that error 🙂cheers,
Ross
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Undefined variable: snippet’ is closed to new replies.