• Resolved donikatz

    (@donikatz)


    With Stream 3.0.4 enabled, I can’t move comments to trash or mark as spam. I get 500 errors.

    apache error_log:
    PHP Fatal error: Call to undefined function WP_Stream\\mb_strtolower() in /var/www/html/wp-content/plugins/stream/connectors/class-connector-comments.php on line 387, referer: http://www.<redacted&gt;.com/wp-admin/edit-comments.php?comment_status=spam

    With Stream deactivated it works.

    Thanks

    https://wordpress.org/plugins/stream/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi donikatz – which version of PHP to you have installed? mb_strtolower should work on PHP 4.3 and higher. Stream requires PHP version 5.3.

    Thread Starter donikatz

    (@donikatz)

    PHP 5.3.29 thanks

    Out of interest, could you please try the following?

    Find the line which is causing the error (connectors/class-connector-comments.php:387). Just before the mb_strtolower() call, add a forward slash.

    That should change the line from:
    $comment_type = mb_strtolower( $this->get_comment_type_label( $comment_id ) );

    to:
    $comment_type = \mb_strtolower( $this->get_comment_type_label( $comment_id ) );

    Then search through that file and do the same to all instances of mb_strtolower.

    Does this fix the problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stream breaks comments management’ is closed to new replies.