• Resolved michaelwunderlich

    (@michaelwunderlich)


    Is Zotpress compatable with PHP 8.0 or 8.1. I am getting the following behavior when using 8.1, but not 7.4.30

    It does not appear to be an issue with the page displaying the bibliography.
    The zotpress plugin page ->browse ->Your Library gets stuck loading,
    and PHP errors occur:

    Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in %path%\wp-content\plugins\zotpress\lib\request\request.class.php:302
    #8 {main}
    thrown in %path%\wp-content\plugins\zotpress\lib\request\request.class.php on line 302

    PHP Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, Requests_Utility_CaseInsensitiveDictionary given in%path%\wp-content\plugins\zotpress\lib\shortcode\shortcode.request.php:320
    Stack trace:

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes I am getting similar errors

    [21-Sep-2022 01:15:11] WARNING: child 391 said into stderr: “NOTICE: PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /www/wp-content/plugins/zotpress/lib/shortcode/shortcode.request.php on line 365”

    [21-Sep-2022 01:15:11] WARNING: child 702 said into stderr: “NOTICE: PHP message: PHP Warning: json_decode() expects parameter 1 to be string, object given in /www/wp-content/plugins/zotpress/lib/shortcode/shortcode.request.php on line 320”

    Katie confirmed that there was a php8 compatibility issue months ago but there was a bug in the tools she used so she was waiting for the one to fiddle the other.
    I wrote to her about a possible fix for Atom but never heard back so I just wrote to her again.

    Plugin Author Katie

    (@kseaborn)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ZotPress PHP 8.0 or 8.1 Compatability’ is closed to new replies.