Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Uploading media error (wordpress 4.9)

Discussion in 'Misc WordPress Requests' started by wildnano, Mar 7, 2018.

  1. wildnano


    Reply To: Uploading media error (wordpress 4.9), by wildnano

    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.


    Reply To: Uploading media error (wordpress 4.9)

Share This Page

Monarch Social Sharing Plugin