PHP Notice and missing file
-
When I protect an image I am getting the following PHP Notice
Notice: Trying to get property of non-object in …/plugins/media-vault/mv-metaboxes.php on line 124
Warning: Cannot modify header information – headers already sent by (output started at /…/plugins/media-vault/mv-metaboxes.php:124) in /…/wp-includes/pluggable.php on line 896
Then the url of the image changes, the file is moved, but the image does not show in the browser. Looks like it is missing, but it is there.
When I copy/paste the URL in the browser while I am logged in, it does not show the image, but the flowing message as image (not text)
The image “”http://………..uloads/_mediavault/2014/02/FILENAME.jpg” can not be displayed because it contains errors.
So, it sent the headers, but not the image.If I copy the same image via ftp and open it locally it opens.
Therefore, looks like it is not served correctly.
I hope this input helps you to clear the problem.
- The topic ‘PHP Notice and missing file’ is closed to new replies.