• Re: Blocked function

    From Arno Welzel@21:1/5 to All on Sun Sep 25 16:53:28 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to usenet@arnowelzel.de on Sun Oct 2 22:13:56 2022
    In article <jpb8b8F997uU1@mid.individual.net>,
    Arno Welzel <usenet@arnowelzel.de> wrote:
    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.



    XDebug? What about a commnd line debugger?

    --
    Arno Welzel
    https://arnowelzel.de



    --
    Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
    Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b Quebec oubliez les extremes et votez PLQ Beware https://mindspring.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)