Re: Blocked function

Arno Welzel <[email protected]>
Newsgroups comp.lang.php
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.