Tagged: All Galleries, Dashboard, mediapress
When a user goes to the dashboard there is a Mediapress view of All Galleries. When they click on the there is an error:
Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/d69811276/htdocs/clickandbuilds/CanvaKalaTest/wp-content/plugins/mediapress-d11e165c48d89981c7a1f8c660932cc118778b64/admin/class-mpp-admin-gallery-list-helper.php:200) in /homepages/14/d69811276/htdocs/clickandbuilds/CanvaKalaTest/wp-includes/option.php on line 787
Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/d69811276/htdocs/clickandbuilds/CanvaKalaTest/wp-content/plugins/mediapress-d11e165c48d89981c7a1f8c660932cc118778b64/admin/class-mpp-admin-gallery-list-helper.php:200) in /homepages/14/d69811276/htdocs/clickandbuilds/CanvaKalaTest/wp-includes/option.php on line 788
Is there any chance you are using some type of access restriction/redirect plugin. I checked and we see that on load-edit.php action we are echoing some inline css. That should work fine unless some plugin is trying to do a redirect after that action.
I did load up Adminimize and WPFRont User Role editor but had not changed any setting, also I unloaded these and still get the error. This is on my test system, I think there are only 4 or 5 plugins loaded – Disable Comments, Limit Logins, Mediapress and buddypress.
Can you please try disabling other plugins( I believe it is a test site as per our previous discussions) except BuddyPress and MediaPress. Does that fixes it. Some plugin/code is most probably trying to redirect after load-edit.php action, they should instead do it on admin_init .
We just need to find out which one and can suggest a patch to the author if that is the case.
Hi George,
Is there any code in your bp-custom.php or themes functions.php that is causing it. I am sorry for all these inconvenience. I am not able to reproduce it, so looking for clues here.I was thinking about why you could not replicate this problem and it occurred to me that it might be because my default user setting is Contributor as opposed to subscriber. So I set my user to subscriber and unfortunately it got worse.
Now there is an error on entering the Dashboard, before the user tries to look in Mediapress galleries:
Warning: array_pop() expects parameter 1 to be array, null given in /homepages/14/d69811276/htdocs/clickandbuilds/MediapressTest/wp-content/plugins/mediapress-master/admin/class-mpp-admin-post-helper.php on line 87
Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/d69811276/htdocs/clickandbuilds/MediapressTest/wp-content/plugins/mediapress-master/admin/class-mpp-admin-post-helper.php:87) in /homepages/14/d69811276/htdocs/clickandbuilds/MediapressTest/wp-includes/option.php on line 787
Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/d69811276/htdocs/clickandbuilds/MediapressTest/wp-content/plugins/mediapress-master/admin/class-mpp-admin-post-helper.php:87) in /homepages/14/d69811276/htdocs/clickandbuilds/MediapressTest/wp-includes/option.php on line 788
You must be logged in to reply to this topic.