Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
php 8.x plugin support repo
#22
(2022-10-28, 02:22:53)shawn_a Wrote: I need plugins to fix, give me examples

Hi Shawn,

I'd like to report warnings on php7.4 for plugins

1. sa_toc_anchors.php, which makes use of create_function(...,...)
This function internally used eval() and was considered a security risk, while also being global, scopeless, not garbage collectable, ... . Under php7 I get a warning and under php8 a fatal error:
 Fatal error: Uncaught Error: Call to undefined function create_function() in /.../plugins/sa_toc_anchors.php:45
Any suggestions for replacement code?

2. (already fixed in repo) plugins/i18n_navigation/frontend.class.php: old style constructor near 350

3. plugins/sa_hook_components:74 eval'd code on l64, use of undefined constant trim

4. plugins/i18n_base/frontend.class.php(127) : eval()'d code on line 21

Hopefully my site will run fine as soon as the above are fixed.

FYI, I use the following plugins on my site:
Cookies Plugin by Cumbe
FAQ by Vlcek
GSMaintenance
GSPlugin Installer by Helge Sverre
GS_Shortcodes by Mike Swan
HitCount
I18NBase
I18N
I18Search
ItemManager
SA_hook Components
SA_toc_anchors
Theme Highlighter
Multi User by Mike Henken

p.s. I am thrilled that GS is again moving ahead with more people stepping in to help out.
Will your plugin repository also include updated versions?

BTW, I read that php 8 will also only have a short life. My hosting already kills php 7.x on Nov 1, '22; something similar will happen next year, I am afraid. How long before php (and its function library) can evolve without further code-breaking changes?
Reply


Messages In This Thread
php 8.x plugin support repo - by multicolor - 2022-10-11, 20:43:37
RE: php 8.x plugin support repo - by Oleg06 - 2022-10-12, 16:45:04
RE: php 8.x plugin support repo - by celextel - 2022-10-17, 01:24:01
RE: php 8.x plugin support repo - by multicolor - 2022-10-17, 06:16:30
RE: php 8.x plugin support repo - by celextel - 2022-10-17, 11:17:35
RE: php 8.x plugin support repo - by kdxfi - 2022-10-21, 18:54:54
RE: php 8.x plugin support repo - by multicolor - 2022-10-22, 01:33:20
RE: php 8.x plugin support repo - by multicolor - 2022-10-25, 20:09:34
RE: php 8.x plugin support repo - by shawn_a - 2022-10-27, 06:00:28
RE: php 8.x plugin support repo - by multicolor - 2022-10-27, 08:21:59
RE: php 8.x plugin support repo - by shawn_a - 2022-10-27, 06:03:18
RE: php 8.x plugin support repo - by multicolor - 2022-10-27, 08:19:12
RE: php 8.x plugin support repo - by shawn_a - 2022-10-27, 23:18:46
RE: php 8.x plugin support repo - by celextel - 2022-10-29, 17:03:46
RE: php 8.x plugin support repo - by Felix - 2022-10-28, 00:31:14
RE: php 8.x plugin support repo - by shawn_a - 2022-10-28, 00:45:49
RE: php 8.x plugin support repo - by shawn_a - 2022-10-28, 02:22:53
RE: php 8.x plugin support repo - by vanfruniken - 2022-11-01, 09:24:51
RE: php 8.x plugin support repo - by shawn_a - 2022-10-30, 00:06:30
RE: php 8.x plugin support repo - by Felix - 2022-10-30, 02:14:34
RE: php 8.x plugin support repo - by shawn_a - 2022-11-01, 02:02:12
RE: php 8.x plugin support repo - by shawn_a - 2022-11-01, 02:06:23
RE: php 8.x plugin support repo - by shawn_a - 2022-11-01, 12:24:29
RE: php 8.x plugin support repo - by multicolor - 2022-11-10, 03:53:37
RE: php 8.x plugin support repo - by shawn_a - 2022-11-13, 02:42:01
RE: php 8.x plugin support repo - by shawn_a - 2022-11-13, 02:44:00
RE: php 8.x plugin support repo - by davetest - 2022-11-13, 05:44:14
RE: php 8.x plugin support repo - by islander - 2022-11-13, 18:53:12
RE: php 8.x plugin support repo - by davetest - 2022-11-13, 19:45:28
RE: php 8.x plugin support repo - by shawn_a - 2022-11-16, 07:29:47



Users browsing this thread: 1 Guest(s)