• Resolved mercurydan

    (@mercurydan)


    Im getting errrors in my error logs. I think it has something to do with us upgrading to PHP 8.1.

    2022-12-06T07:13:31+00:00 CRITICAL Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in public_html/wp-content/plugins/zotpress/lib/shortcode/shortcode.request.php:365
    Stack trace:
    #0 public_html/wp-includes/class-wp-hook.php(308): Zotpress_shortcode_request('')
    #1 public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #2 public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 public_html/wp-admin/admin-ajax.php(203): do_action('wp_ajax_nopriv_...')
    #4 {main}
      thrown in public_html/wp-content/plugins/zotpress/lib/shortcode/shortcode.request.php on line 365
Viewing 6 replies - 16 through 21 (of 21 total)
  • No issues to report but no pressure or systemic analysis ??

    since you have the diffs, if there’s no weird loss or appearance of punctuation and no major change in code release asap and hopefully we will see 1000 installs in 24 hrs and anything missed will pop quick?

    Mark

    (@codeispoetry)

    Cool! @kseaborn I have tested the new code on my production site (PHP version 7.4.33 WP version 6.1.1) and everything works as expected. I have a bunch of other plugins that are not guaranteed to work with PHP 8.1 so I’m not easily able to check it out in 8.1 — so, just a single data point for now!

    Plugin Author Katie

    (@kseaborn)

    Thanks all especially @kfeuerherm and @codeispoetry! I just released 7.3.2. I had some weird errors and syncing issues with SVN, though, so I’m a bit worried something went haywire. Seems to be available on WP. Do let me know if there’s any issues.

    Most welcome, @kseaborn ! Happy to help! Thanks for uploading it!

    I installed upgrade from through WordPress upgrader (ie targeting the new version posted by @kseaborn to make sure there were no problems there). The php upgrader script on my webhost borked (don’t know yet why and it likely has nothing to do with ZOTPress but mentioning just in case) and did upgrade from 7.4 to 8.1Fast manually. All test pages seem to work.

    • This reply was modified 1 year, 9 months ago by net-buoy.
    Plugin Author Katie

    (@kseaborn)

    Thanks for checking and confirming @net-buoy !

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘PHP 8.1 errors’ is closed to new replies.