Skip to content
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

Fata error when enabling plugin #15

Closed
jenxi opened this issue Jul 27, 2021 · 1 comment
Closed

Fata error when enabling plugin #15

jenxi opened this issue Jul 27, 2021 · 1 comment

Comments

@jenxi
Copy link

jenxi commented Jul 27, 2021

Wordpress detected a fatal error when I enabled the plugin and went to the settings.

WordPress version 5.8
Current plugin: Modern Images WP (version 1.0.1)
PHP version 7.4.21

Error Details
=============
An error of type E_ERROR was caused in line 195 of the file /wp-content/plugins/modern-images-wp/src/Setting.php. Error message: Uncaught Error: Call to undefined function Modern_Images_WP\str_to_upper() in /wp-content/plugins/modern-images-wp/src/Setting.php:195
Stack trace:
#0 /wp-content/plugins/modern-images-wp/src/Setting.php(117): Modern_Images_WP\Setting->isImageFormatSupported()
#1 /wp-admin/includes/template.php(1743): Modern_Images_WP\Setting->Modern_Images_WP\{closure}()
#2 /wp-admin/includes/template.php(1701): do_settings_fields()
#3 /wp-admin/options-media.php(156): do_settings_sections()
#4 {main}
 thrown
@adamsilverstein
Copy link
Owner

Thanks for reporting @jenxi - fixed in #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants