Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
coevolving opened this issue Jun 23, 2017 · 0 comments
Open

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

coevolving opened this issue Jun 23, 2017 · 0 comments

Comments

@coevolving
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant