Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter robghen

    (@robghen)

    Great, all the errors seem to be gone now. Just FYI, there is one final warning which may or many not be expected:

    PHP Warning: Array to string conversion in …/multisite-post-reader/multisite-post-reader.php on line 394

    Since this is just a warning I’m not going to worry about it but I suppose an explicit “(string)” cast could eliminate the warning if anyone cared.

    Thanks for the quick fixes!

    Thread Starter robghen

    (@robghen)

    Thanks, Rick. This update has resolved the original errors but I am seeing one new error:

    PHP Fatal error: Uncaught Error: Call to undefined function int() in …/wp-content/plugins/multisite-post-reader/multisite-post-reader.php:305

    I see 3 places in that file where you use “int(…)” but perhaps those should be “(int) …”?

    Thanks!

    Thread Starter robghen

    (@robghen)

    Thanks Rick, you are correct that we are using php 8.x. And, yes, the site works but just generates a large volume of error logs so definitely not fatal. Just FYI, in addition to the mpr_version_number errors here is a complete list of the other plugin errors I am seeing being logged:

    Undefined array key “excludesites” in …/multisite-post-reader.php on line 252
    Undefined array key “excludesites” in …/multisite-post-reader.php on line 358
    Undefined array key “nodate” in …/multisite-post-reader.php on line 532
    Undefined array key “showall” in …/multisite-post-reader.php on line 466
    Undefined array key “showall” in …/multisite-post-reader.php on line 539
    Undefined array key “tag” in …/multisite-post-reader.php on line 479
    Undefined array key “type” in …/multisite-post-reader.php on line 475
    Undefined variable $days in …/multisite-post-reader.php on line 460

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)