• Resolved alysonann

    (@alysonann)


    The latest update (to 7.3.12) broke my pages where I use the plugin. Nothing displays except “There has been a critical error on this website.” I rolled back to the previous version and stopped automatic updates and my pages are displaying normally again. I’d like to know if I have to update something in my code for the new version to work?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same issue here, version 7.3.12. I have a series of zotero collections embedded in the page showing the critical error. All other site pages not using Zotpress working well.

    giando

    (@giandomenicocaruso)

    I am experiencing the same problem with version 7.3.12. I tried clearing the cache and rebuilding the account, but unfortunately, these actions did not fix the issue.

    • This reply was modified 2 months, 1 week ago by giando.
    The problem is that the variable $wpdb needs to be declared globally before line 331 in zotpress/lib/shortcode/shortcodes.functions.php:

    global $wpdb;
    $zp_account_temp = $wpdb->get_row("SELECT * FROM ".$wpdb->prefix."zotpress LIMIT 1", OBJECT);

    Just add the global declaration as above and everything works fine.
    • This reply was modified 2 months, 1 week ago by ericcorbett2.
    • This reply was modified 2 months, 1 week ago by ericcorbett2. Reason: adding necessary detail
    pigsound

    (@pigsound)

    thankyou ericcorbett2 – this worked perfectly for my zotpress plugin.

    Plugin Author Katie

    (@kseaborn)

    Hi all – sorry about this. I’m not sure if it was a caching issue yesterday but it didn’t show up then, although I can see it now and I’m working on a fix. The solution above may only work if you have one account synced. Stay tuned …

    giando

    (@giandomenicocaruso)

    thank you ericcorbett2 – it works!

    Plugin Author Katie

    (@kseaborn)

    7.3.13 should have a fix plus other fixes. Please let me know!

    mpaskevi

    (@mpaskevi)

    Thanks for the quick fix.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.