Today, i moved my blog to a new server. Everything was set up easily.
But, when i pulled out a blog post, everything was working correctly, except that the blog post content was missing.

I then checked out my php error logs and found this “Parameter 1 to fdl_the_content() expected to be a reference, value given in /var/vhosts/dipinkrishnadotcom/wp-includes/plugin.php on line 170“.

I googled the error and found that it was php version issue.

The error is caused by the plugin “FeedLayout‘. This issue will be solved if you disable this plugin. Maybe “Feed layout” will get an update soon with a fix to this issue.

Anyway, there is a workaround for this,
Edit the file

wp-content/plugins/feed-layout/plugin.php

and change the below line of code (line number 38)

function fdl_the_content(&$content)

to

function fdl_the_content($content)

Hope it helped! :)



Tagged with:  

Leave a Reply

*


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Unlimited Domain Hosting Unlimited Domain Hosting
IP Address : 107.21.163.227
Country : United States
Featured FREE Resource:
More in PHP, WordPress (1 of 2 articles)
magento-webshop