Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 09:17 am EDT

Geeklog Forums

geeklog 2.2.1sr1 php error


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?
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

Carl

Anonymous
Thank you!

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

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?
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

All times are EDT. The time is now 09:17 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content