Hi,
I have added metaboxes in post.
I created a folder metas which contains functions.php file with a class and a public __construct for my different metaboxes.
My template functions.php file requires this metas folder functions.php.
When my metaboxes are activated, I can’t upload files (images) or plugins.
I glance at the debug log:
07-Mar-2018 13:08:44 UTC] PHP Stack trace:
[07-Mar-2018 13:08:44 UTC] PHP 1. {main}() C:\wamp64\www\mbn\wp-admin\post.php:0
[07-Mar-2018 13:08:44 UTC] PHP 2. setcookie() C:\wamp64\www\mbn\wp-admin\post.php:198
[07-Mar-2018 13:08:44 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at C:\wamp64\www\mbn\wp-content\themes\twentyfifteen\metas\functions.php:51) in C:\wamp64\www\mbn\wp-includes\pluggable.php on line 1216
Can you help me.
Thanks