PHP 4 problem: “Fatal error: Undefined class name ‘self’ “

Installing plugin  FeedWordpress, no problem with Activating process, but the first Syndication got the error: “Fatal error: Undefined class name ‘self’ in /home/directory_name/wp-content/plugins/FeedWordpress/feedwordpress_file.class.php on line 4”

Turn out it’s PHP 4 problem (my hosting company hasn’t updated the server to PHP5).


Search file feedwordpress_file.class.php for self:: and replace it with $this->

This should make it work on PHP 4.

Solution credits: digitalnature

%d bloggers like this: