dcramer / wp-lifestream

Lifestreaming plugin for Wordpress
http://forums.lifestrm.com/index.php
122 stars 30 forks source link

WP-Lifestream with PHP 7, two warnings and one fatal error #111

Open coevolving opened 7 years ago

coevolving commented 7 years ago

The plugin (I'm running Version 0.99.9.6) is working fine under PHP 5.6.

Since there's word that Wordpress is moving to PHP 7, I did a test on my blog. Changing the cPanel setting from PHP 5.6 to 7.0, the blog wouldn't even load. I turned off WP-Lifestream, and then the web site worked.

Trying to activate the plugin on the running website produces the following message:

Plugin could not be activated because it triggered a fatal error.

Warning: Declaration of Lifestream_EventGroup::get_event_display($bit) should be compatible with Lifestream_Event::get_event_display() in /home/MYHOST/MYDOMAIN.com/blog/wp-content/plugins/lifestream/inc/core.php on line 192

Warning: Declaration of Lifestream_EventGroup::get_event_link($bit) should be compatible with Lifestream_Event::get_event_link() in /home/MYHOST/MYDOMAIN.com/blog/wp-content/plugins/lifestream/inc/core.php on line 192

Fatal error: 'continue' not in the 'loop' or 'switch' context in /home/MYHOST/MYDOMAIN.com/blog/wp-content/plugins/lifestream/inc/core.php on line 759

So, the clock could be ticking on the continuing use of this plugin.