• Resolved achris09

    (@achris09)


    Hi,

    I am having this issue on my comment box.

    Warning: trim() expects parameter 1 to be string, object given in /home1/prolazyd/public_html/wp-includes/class-wp-user.php on line 203

    How can I resolve this?

    Website: https://www.prolazydad.com.

    Please help.

    Thanks.

    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter achris09

    (@achris09)

    By the way, here’s my post with error. Actually all of them have the same error. So that you can check right away.

    https://www.prolazydad.com/rank-higher-google-search/

    Hello achris09,

    Try to deactivate any plugins you might have installed recently. Basically, it seems like that the issue is related to any plugin conflict or if you have modified anything inside the theme.

    The error basically means that it’s not getting the string as an argument. This error might occur due to any plugin or code using a filter related to comments.

    Regards

    Thread Starter achris09

    (@achris09)

    @magnigeeks

    Thanks man. It is not actually the recent plugins, but the first 5 plugins installed on my WordPress. For some reason, maybe the updates ruin it.

    But you give me a hint to review all my plugins.

    The plugin that is causing this error is “Custom User Profile Photo”.

    Thanks.

    Chris

    • This reply was modified 7 years, 11 months ago by achris09.

    Great, I am happy that you figured it out.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: trim() expects parameter 1 to be string,’ is closed to new replies.