Support » Plugin: WP Discord » Fatal error when publishing news.

  • Resolved kipstyle


    Fatal error when publishing news.
    Fatal error: Cannot use object of type stdClass as array in /home/wp-content/plugins/wp-discord/includes/class-wp-discord-guild.php on line 133

    • This topic was modified 4 years, 7 months ago by kipstyle.
Viewing 4 replies - 1 through 4 (of 4 total)
  • I see this too.

    Thread Starter kipstyle


    how to fix?

    Debugged this. Instead of getting a webhook back it was returning error 50013 ‘Missing Permissions’. To resolve edit each channel permissions within Discord and add a new permission set for your bot, ensuring they can post messages and create web hooks. It works for me now.

    Plugin Author Raymond Perez



    Sorry for the late reply. Glad you figured it out. I pushed our version 0.4.1 this morning which should now check your configuration and show a message if the plugin doesn’t get any channels back.

    This might not directly handle your issue with permissions but it should apply to those who may have not setup their plugin or have incorrect credentials.



Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error when publishing news.’ is closed to new replies.