-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notice after attempting to upload invalid .png file #115
Comments
Reproduced today in dev.s.b/cwiccer with lots of Notices. I assume PHP was less pernickety with the post ID comparison test in those days.
|
The WordPress error in the global The action hooks which cause the ID to become set to this error are between "admin_init" and "shutdown"
|
The message is produced in
|
The global variable
async-upload checks if The fix is to update |
While trying to understand why I was not allowed to update a .png file I attempted the upload on
s.b/oikcom
I got the same message as before "Sorry, you are not allowed to upload this file type" and also got this notice
Notice: Object of class WP_Error could not be converted to int in /home/customer/www/cwiccer.com/public_html/wp-content/plugins/oik-bwtrace/includes/bwtrace.php on line 275
The problem with the
.png
file wasn't that I was not allowed to update a.png
file.It's just the the file wasn't actually a
.png
file. It was a 404 message that had been saved as a.png
file by mistake.The text was updated successfully, but these errors were encountered: