• Resolved pdlowner

    (@pdlowner)


    I use the latest version of WordPress and Zotero. Since the update it doesn’t update properly the library.

    PHP Fatal error: Call to a member function getAll() on a non-object in /www/virtualhosts/perceptualdynamics.be/html/wp-content/plugins/zotpress/lib/request/request.class.php on line 146

    I also get by initialization of the useraccount following error message:

    PHP Fatal error: Cannot use object of type WP_Error as array in /www/virtualhosts/perceptualdynamics.be/html/wp-content/plugins/zotpress/lib/admin/admin.browse.php on line 195

    Even a complete deinstallation of Zotero and new installation doesn’t help, neither deleting the cache or reseting the plugin.

    Any ideas how to solve the problem …

    best regards
    Marco Maas

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter pdlowner

    (@pdlowner)

    Hello, i still have this error happening on my website after i cleared my cache. Even after the latest update.

    Before clearing the cache i got the following new error message after installing the update

    [18-Aug-2017 08:45:26] PHP Fatal error: Call to undefined function gzdecode() in /www/virtualhosts/perceptualdynamics.be/html/wp-content/plugins/zotpress/lib/request/request.class.php on line 94

    edit: Some help would be highly appreciated since even now after restoring the backup the plugin doesn’t want to work at all …

    • This reply was modified 7 years, 7 months ago by pdlowner.
    Plugin Author Katie

    (@kseaborn)

    Hmm it sounds like you either don’t have the Zlib library installed or activated in PHP, or the version doesn’t have this function. Very curious! Is it possible to modify PHP? I’ve also found a possible workaround … if you want to try, please contact me. https://katieseaborn.com/contact

    • This reply was modified 7 years, 7 months ago by Katie.
    Plugin Author Katie

    (@kseaborn)

    Please try 6.2.1 when released and let me know if that fixes things.

    For me, v.6.2.1 gives the similar following error:

    Fatal error: Can't use function return value in write context in /home/jdavidst/public_html/wp-content/plugins/zotpress/zotpress.php on line 355

    I’ve removed and reinstalled the plugin, and I get the same result. Any suggestions for remedies would be most welcome.

    Thank you so much.

    Plugin Author Katie

    (@kseaborn)

    Hm, not sure, but I think I have a work-around. Wish I could generate these errors on my end to be sure. In any case we’ll figure it out, slowly but surely! I’ll need a little time to put it together.

    Thank you. It looks like if I roll back to v.6.1.6, all is well again (on WP v.4.8.1).

    Thread Starter pdlowner

    (@pdlowner)

    sorry for the late reply, now i cannot even activate the plugin

    Fatal error: Can’t use function return value in write context in /www/virtualhosts/perceptualdynamics.be/html/wp-content/plugins/zotpress/zotpress.php on line 355

    i had first a HTTP 500 error after upgrading to 6.2.1 . Then after reinstalling the plugin i get the error above.

    Thread Starter pdlowner

    (@pdlowner)

    i installed 6.1.6, unfortunately i doesn’t helped with the error indicating at the beginning. When i then upgrade to 6.2.1 it runs directly into HTTP 500 error again …

    Thread Starter pdlowner

    (@pdlowner)

    just checked your request about zlib library. On server is Version 1.2.3 installed and enabled

    Plugin Author Katie

    (@kseaborn)

    I think this is a new issue; working on it. For the original one, check here (I think it was more about how php is compiled).

    Thread Starter pdlowner

    (@pdlowner)

    the issue with activacting i could bypass, also the 500 error code.

    500 error code (complete fresh installation with the zip file solved that problem)

    activating (modifing the zotpress.php and deleting the lines there, just some warning message for the update :))

    just my problem with the database is still there … would a upgrade in php help? I could try to get the Hostadmins to upgrade to the latest version … there is currently 5.3.3 installed.

    [28-Aug-2017 08:07:55] PHP Fatal error: Call to a member function getAll() on a non-object in /www/virtualhosts/perceptualdynamics.be/html/wp-content/plugins/zotpress/lib/request/request.class.php on line 157

    is the new line of the error.

    Hi Katie, I’m also experiencing the same fatal error issue after updating Zotpress yesterday. I’ve deleted it and tried to reinstall, but now I can’t even activate it.

    Fatal error: Can’t use function return value in write context in /home2/teambuilding/public_html/wp-content/plugins/zotpress/zotpress.php on line 355

    Looking forward to a solution. Thank you so much for this amazing plugin.

    Thread Starter pdlowner

    (@pdlowner)

    @terrific1

    you can bypass that error for the moment

    activating (modifing the zotpress.php and deleting the lines there, just some warning message for the update :))

    outcomment the lines between ZOTPRESS 6.2.1 NOTIFICATION. that should fix it for the moment.

    Thread Starter pdlowner

    (@pdlowner)

    I played with a test environment around, there i have no problems … could be the reason that the older PHP Version cause the issues

    Plugin Author Katie

    (@kseaborn)

    @pdlowner Can you contact me? I’m not sure if I fixed either error and can’t replicate, so I’d like to send you a version to try.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘PHP fatal error: Call to a member function getAll() on a non-object’ is closed to new replies.