• After upgrading to WordPress 6.5 there is this error when commenting:

    Warning: Trying to access array offset on value of type null in /wp-content/plugins/wp-notification-bell/includes/comments.php on line 33

    I got this error for other functions/plugins too so it’s not just you/this plugin. It seems this will be a common error going forward until everyone gets in the habit of checking for null.

    For further clarification, I believe the null is happening because I am using a plugin that lets me log in as another user. That might be making the code think something is null when it is not. Either way, line 33 should probably be updated to do a null check.

Viewing 1 replies (of 1 total)
  • Plugin Author wpdever

    (@wpdever)

    Hi,

    Thanks for letting me know. I’ve added the null check in the latest update. Please check and let me know if you find any more errors or warnings.

Viewing 1 replies (of 1 total)
  • The topic ‘Trying to access array offset on value of type null’ is closed to new replies.