• Resolved HgtuRgg

    (@kalyanbratadas)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Moch Amir

    (@moch-a)

    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.

    Thread Starter HgtuRgg

    (@kalyanbratadas)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upload error from Editor account’ is closed to new replies.