rolandtoth / AdminOnSteroids

Various ProcessWire admin tweaks to boost productivity.
https://processwire.com/talk/topic/13389-adminonsteroids/
GNU General Public License v2.0
39 stars 10 forks source link

Error after upgrading PW (latest dev version) and PHP to 7.3.1 #104

Closed tiefenb closed 5 years ago

tiefenb commented 5 years ago

Hi, I switched to PHP 7.3.1, PW >3.0.125 and Session in Redis (session.save_path = redis) and now I'm getting this error from AdminOnSteroids:

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/html/site/modules/AdminOnSteroids/AdminOnSteroids.module on line 2621

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/modules/AdminOnSteroids/AdminOnSteroids.module:2621) in /var/www/html/wire/core/Session.php on line 1083

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/modules/AdminOnSteroids/AdminOnSteroids.module:2621) in /var/www/html/wire/core/Session.php on line 1084

PHP: 7.3.1 Processwire: latest dev version (>3.0.125)

tiefenb commented 5 years ago

After removing the "continue" on line 2621 in AdminOnSteroids.module, my site works again:

bildschirmfoto 2019-02-06 um 08 57 05
rolandtoth commented 5 years ago

I have already modified line 2621 in v2.09 or so to "continue 2", what version of AOS are you using? Could you try the latest?

tiefenb commented 5 years ago

Oh, I thought I was on the latest but was on v2.0.7. Error is now fixed after upgrading.

rolandtoth commented 5 years ago

Thanks!