• Resolved Olaf Lederer

    (@finalwebsites)


    Hi,

    we did a server upgrade for our “older” application. While most of the code works fine with php 8.x I get some error’s in your plugin. I fixed it for now with some validations, but these fixes are gone after the next update.

    // if ($comment->comment_approved === "0") {
    // Warning: Attempt to read property "comment_approved" on string in /home/bim/domain.nl/current/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php on line 1407
    if (empty($comment->comment_approved)) { // added by OL
    return true;
    }

    // Warning: Attempt to read property "comment_ID" on string in /home/bim/domain.nl/current/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php on line 893
    if (isset($commentListArgs["lastCommentIdInList"])) { // added by OL
    $commentListArgs["lastCommentIdInList"] = $commentList[$count - 1]->comment_ID;
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    Hi,

    Please register and open a new support topic in the wpDiscuz.com forum for deeper support.

    Thread Starter Olaf Lederer

    (@finalwebsites)

    Hi,

    this is not a support question, but a hint to fix a problem in your plugin. πŸ˜‰
    Please forward my post to the development team.

    Plugin Author gVectors Team

    (@gvectors-team)

    Hi @finalwebsites,

    Thank you for the information. You topic has ben forwarded to developers. We’ll update the plugin.

    Plugin Support gVectors Support

    (@gvectorssupport)

    Hi,

    The new version of the wpDiscuz plugin is ready. Could you please check it?

    Thread Starter Olaf Lederer

    (@finalwebsites)

    I checked the code and the modifications should be avoid the error’s.

    Thanks, I will upgrade the plugin very soon.

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

You must be logged in to reply to this topic.