Carl

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?

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1442
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
One of the Geeklog Core Developers.

Carl

Anonymous
Thank you!

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

Status: offline

jason559

Forum User
Regular Poster
Registered: 03/31/03
Posts: 83
I can't find the option as well. Having this same error message. Where would we locate it, exactly?

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1442
It is under:

Configuration -> Geeklog -> Miscellaneous

And then click on the Webservices tab.

The easiest way to find it though is just use the "Search Configuration" field and type in "webservices" and it will take you to the config option right away.
One of the Geeklog Core Developers.