Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: Blocked function Date: Sun, 25 Sep 2022 16:53:28 +0200 Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net ZEZGRYIHKL4sFlRz+oJv7QwgBge4EfWvL7xXzc/4WaO8ow8QOe Cancel-Lock: sha1:75z68Nryv02yUE52PH2jZcUwejw= Content-Language: de-DE In-Reply-To: Xref: csiph.com comp.lang.php:19112 The Doctor, 2022-09-25 14:41: > IN my serendipity 7.4 upwards, I am getting this error: > > 2022/08/19 20:51:07 [error] 5900#389539: *2810913 FastCGI sent in stderr: "PHP m > essage: PHP Fatal error: Uncaught Error: Call to a member function getBody() on > null in /path/to/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php:535 > Stack trace: > #0 /path/to/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(653): serendipity_event_spartacus->fetchfile('https://raw.git...', '/root/web/...', 43200, true) > #1 /path/to/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1164): serendipity_event_spartacus->fetchOnline('sidebar') > #2 /path/to/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1340): serendipity_event_spartacus->count_plugin_upgrades() > #3 /path/to/include/plugin_api.inc.php(1188): serendipity_event_spartacus->event_hook('backend_plugins...', Object(serendipity_property_bag), NULL, NULL) > #4 /path/to/include/admin/upgrader.inc.php(457): serendipity_plugin_api::hook_event('backend_plugins...', NULL) > #5 /path/to/serendipity_admin.php(260): require('/root/web/...') > #6 {main} > thrown in /apth/to/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 535" while reading response header from upstream, client: 185.25.35.13, server: *.nk.ca, request: "GET /blog/serendipity_admin.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "www.nk.ca" > > Using nginx on FreeBSD . This has nothing to do with PHP - it's a local problem with your Serendipity installation. Use a debugger like XDebug to check the code. -- Arno Welzel https://arnowelzel.de