WordPress.org

Forums

Google Drive WP Media
[resolved] Upload error from Editor account (3 posts)

  1. Kalyan Brata Das
    Member
    Posted 1 year ago #

    Hi,

    Why is it so when I login as Editor and try to upload an image via Google Drive WP media, I get the following error and the image is also not uploaded.

    Warning:  Invalid argument supplied for foreach() in /home2/klmnweb/public_html/dainikjanakantha.net/wp-admin/includes/plugin.php on line 1375

    However, when I try to upload via Admin user account, all is fine. Have you restricted it user role wise? If so, I will like you to give this privilege to editors at least since they are supposed to upload images too as per WP user Roles and Responsibilities. Hope to hear from you very shortly as usual.

    Thank you once again for your time and effort.

    https://wordpress.org/plugins/google-drive-wp-media/

  2. Moch Amir
    Member
    Plugin Author

    Posted 1 year ago #

    Nope, any user roles have capabilities.

    error message

    wp-admin/includes/plugin.php on line 1375

    was pointing to remove_menu_page function

    this could be by another plugins that use remove_menu_page function.

  3. Kalyan Brata Das
    Member
    Posted 1 year ago #

    Thanks buddy.. you are right. One of my plugins is using that function. You are a genius. thanks once again for your awesome support.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Drive WP Media
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic