I'm reposting since, for some reason, my post was closed (or bozo'd I think).
When I go to the admin page for Yarpp and look under the section for Website display code example, I get the error below. Of note, everything seems to work just fine!
Image: http://img156.imageshack.us/img156/8817/yarpp.png
Code: http://wordpress.pastebin.ca/1404890
Hmm, bizarre, but I think I found a fix: please try adding this to line 384 of magic.php.
if ($reference_ID === '' || $reference_ID === false)
return false;
So it should look like
function yarpp_cache_enforce($type=array('post'),$reference_ID,$force=false) {
global $wpdb, $yarpp_debug, $yarpp_caching_queue;
if ($reference_ID === '' || $reference_ID === false)
return false;
$timeout = 600;
if (!$force) {
That was already set (I'm using the 3.0.1 plugin, since I thought I'd try that before going forward with a debug).
@Ipstenu the updated version of magic.php I uploaded and linked to here also includes this patch, fyi. Please let me know if it works.
I did (since I too use child themes) and it works! Huzzah! Thank you! :)
@Ipstenu? I'm confused... those two extra lines (the if $reference_ID === ''...) is new and not included in 3.0.1. Can you try the patch I uploaded?
The patch you uploaded (regarding child themes) fixed the issues.
(Which, since I'm using child themes, makes a certain amount of sense. Oy!)
Alright y'all, I got antsy and pushed this as 3.0.2. After wordpress.org updates its servers, you'll be able to download it.