With s9y 2.4.0 if TOP_EXITS (serendipity_plugin_topexits) is installed, running under PHP 8.0 browsing serendipity_admin.php already logged in bails out with status 500; using `$serendipity['production'] = false` reveals
Code: Select all
Fatal Error: Uncaught Error: Undefined constant "TOP_EXITS" in include/plugin_api.inc.php:686 Stack trace:
#0 plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(767): serendipity_plugin_api::load_plugin('serendipity_plu...')
#1 plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(746): serendipity_event_spartacus->checkPlugin(Array, Array, 'sidebar')
#2 plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(800): serendipity_event_spartacus->getCachedPlugins(Array, 'sidebar')
#3 plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1164): serendipity_event_spartacus->buildList('cached', 'sidebar')
#4 plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1340): serendipity_event_spartacus->count_plugin_upgrades()
#5 include/plugin_api.inc.php(1188): serendipity_event_spartacus->event_hook('backend_plugins...', Object(serendipity_property_bag), '', NULL)
#6 include/admin/overview.inc.php(66): serendipity_plugin_api::hook_event('backend_plugins...', '')
#7 serendipity_admin.php(214): include('...')
#8 {main} thrown in include/plugin_api.inc.php on line 686.
Fwiw, already under PHP 7.4 there are warnings about TOP_EXITS and SHOWS_TOP_EXIT like
Code: Select all
Warning: Use of undefined constant TOP_EXITS - assumed 'TOP_EXITS' (this will throw an Error in a future version of PHP) in include/plugin_api.inc.php on line 686.
Warning: Use of undefined constant TOP_EXITS - assumed 'TOP_EXITS' (this will throw an Error in a future version of PHP) in plugins/serendipity_plugin_topexits/serendipity_plugin_topexits.php on line 8.