Support » Plugin: User Avatar » Plugin don't work properly with "WP Hide Dashboard"

  • When I activate “WP Hide Dashboard” and try to modify my picture as a “subscriber” I get a warning:

    Warning: Invalid argument supplied for foreach() in /home/dipboco1/public_html/dv/wp-admin/includes/plugin.php on line 1261

    in “Upload and Crop an Image to be Displayed” pop-up frame.

    Can you check this please?

Viewing 1 replies (of 1 total)
  • Found a fix for this!

    Since it does work, even though it reports this error, the way to work around it (I admit, it’s technically sloppy), is to hide the error.

    1) Open wp-admin/includes/plugin.php using a standard text editor
    2) Immediately after the opening line <?php add the following:

    @ini_set(‘display_errors’, 0);

    3) Save and re-upload plugin.php to wp-admin/includes/

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin don't work properly with "WP Hide Dashboard"’ is closed to new replies.