Welcome to Geeklog Thursday, October 28 2021 @ 03:09 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: 27/09/05
Posts: 1438
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: 31/03/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: 27/09/05
Posts: 1438
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 03:09 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