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

  1. Kalyan Brata Das
    Posted 2 years ago #


    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.


  2. Moch Amir
    Plugin Author

    Posted 2 years 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
    Posted 2 years 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