justinwhall / wordpress-min-image-upload-size

Plugin that provides a way to set minimum image size uploads for posts and custom fields upload inputs
http://www.justinwhall.com/wp-minimum-image-upload-size/
GNU General Public License v2.0
1 stars 0 forks source link

PHP Warnings #1

Open brianshim opened 8 years ago

brianshim commented 8 years ago

Hi Justin,

See PHP warnings below I got on the Settings page in WP debug mode (I disabled all other plugins to rule out a conflict problem).

( ! ) Warning: array_key_exists() expects parameter 2 to be array, boolean given in /Users/brianshim/Dropbox/ServerPressMac/ioes2.dev/wp-content/plugins/wordpress-min-image-upload-size-master/admin/class-mis-settings.php on line 155 Call Stack

Time Memory Function Location

1 0.0014 405944 {main}( ) ../options-general.php:0 2 0.0018 466296 require_once( '/Users/brianshim/Dropbox/ServerPressMac/ioes2.dev/wp-admin/admin.php' ) ../options-general.php:10 3 0.3175 23416184 do_action( ) ../admin.php:236 4 0.3176 23417784 call_user_func_array:{/Users/brianshim/Dropbox/ServerPressMac/ioes2.dev/wp-includes/plugin.php:525} ( ) ../plugin.php:525 5 0.3176 23417880 WP_MIS_Settings->create_admin_page( ) ../plugin.php:525 6 0.3185 23418296 do_settings_sections( ) ../class-mis-settings.php:47 7 0.3185 23418776 do_settings_fields( ) ../template.php:1292 8 0.3185 23419664 call_user_func:{/Users/brianshim/Dropbox/ServerPressMac/ioes2.dev/wp-admin/includes/template.php:1333} ( ) ../template.php:1333 9 0.3185 23419792 WP_MIS_Settings->render_post_type( ) ../template.php:1333 10 0.3185 23419840 array_key_exists ( ) ../class-mis-settings.php:155 Width No Minimum Size Height No Minimum Size X

Can you fix these?

Thanks, Brian

justinwhall commented 8 years ago

I can, but right now it's not a high priority. Sorry, just don't have the time.

brianshim commented 8 years ago

Hi Justin,

No problemo - I found a different solution. Just wanted to let you know.

Thanks, Brian