Quantcast
Channel: [Plugin: Facebook Feed Grabber] Unable to activate plugin | WordPress.org
Viewing all articles
Browse latest Browse all 4

bonnerl on "[Plugin: Facebook Feed Grabber] Unable to activate plugin"

$
0
0

It looks you're on a newer version of PHP that has removed the way I reference a variable. If you don't mind changing two lines of code it should work if my small amount of research is accurate.

Open up the facebook.php file in a text editor and edit line 486 which currently looks like:
$content = $cache->theMagic(<strong>&</strong>$this, '/'. $feed_id .'/feed?date_format=U', (($cache_feed * 60)));

Remove the "&" symbol that I bolded in that line and save the file.

The next part is actually optional but doing it assuming it works should cut down on the amount of resources my plugin requires. Open up the cache.php file in a text editor on line 31 which should currently look like:
function theMagic( $fb, $file, $expires ) {

Add the "&" symbol in front of $fb so that it looks like theMagic( &$fb

Let me know how that goes. Assuming that fixes the issue I will include that in the next version of my plugin.


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images