Subject: geeklog 2.2.1sr1 php error

Posted on: 05/03/21 11:16pm
By: Anonymous

Hello, Ever since updating to version 2.2.1sr1, when I try to edit or add a new story I get the following error, A PHP error has occurred: (This text is only displayed to users in the group 'Root') E_WARNING(2) - "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? @ /home/system/lib-webservices.php line 577 Does anyone know how this is resolved?

Re: geeklog 2.2.1sr1 php error

Posted on: 07/03/21 09:18am
By: Laugh

This warning shows up when using PHP 7.3+.

If you are not using webservices (you probably are not) then you can disable them in the Geeklog Configuration which will prevent the errors.

I'll add a comment to our PHP 7.4 compatible improvement on Geeklog about this problem.

https://github.com/Geeklog-Core/geeklog/issues/1079

Thanks

Re: geeklog 2.2.1sr1 php error

Posted on: 08/03/21 06:56am
By: Anonymous

Thank you!

Where exactly are the web services options? I can't find them under configuration.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=97380