mgsisk / webcomic

Comic publishing power for the web. Turn your WordPress-powered site into a comic publishing platform with Webcomic.
http://wordpress.org/plugins/webcomic
GNU General Public License v2.0
110 stars 29 forks source link

Plugin causing site to crash #374

Open voltlotus opened 2 years ago

voltlotus commented 2 years ago

Expected Behavior

Site displays as normal, with the webcomic appearing on the front page.

Current Behavior

The site won't load, instead it shows the error on the site www.thealchemistscollective.com

Context

I'm not sure what could have brought this on, perhaps a recent update on Wordpress? I wasn't doing anything in particular when I found this error. I received an email with the notification that something was wrong and to go into Recovery Mode to see more details.

The site uses the Elementor plugin as well, but it is still on the Inkblot theme.

Example

Here is the specific issue found in recovery mode image

Environment

voltlotus commented 2 years ago

I reverted the PHP version back to 7.4 and the issue got resolved.

mgsisk commented 2 years ago

Thanks for the report @Keraunic-Tonic. I’m reopening this issue because this is definitely a bug in the current version of Webcomic. There’s a typo on that line that PHP 7- is ok with, but unfortunately breaks everything in PHP 8+