That is quite inteteresting because this file file has only 175 lines, and we do not have such a function at all (in none of the files)
Are you sure it comes from this plugin? Maybe you could share more info (a screenshot)?
You can see it in the repository: https://plugins.svn.wordpress.org/resize-image-before-upload/trunk/resize-image-before-upload.php
Maybe you got infected with malware which adds additional code to the scripts? You can share the code of this file with me here or at wp@tmm.ventures and I will take a look at this, that is quite interesting.
If I find some malicious code in there, I will let you know, and will also give you an instruction how to clean up your site from malware, for free. Had experience with such kind of things. Other than that, I do not see any reasons how this is possible.
Hi thanks for the reply and offer to help. The error is coming from a site of a user who also uses my plugin (Print My Blog). But upon further investigation, I see this warning is coming from a different plugin with the same name: https://github.com/WPsites/Resize-images-before-upload/blob/master/resize-images-before-upload.php#L304 (but isn’t on WP.org). It’s also super out-of-date which explains some things.
So we’re good. Thanks!
@mnelson4 Maybe he can try my plugin 🙂 It has to work, tested.