You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On /wp-admin/options-media.php when trying to choose an image format for JPGs, it shows the drop-down as:
Use original format (default)
There has been a critical error on this website. ...
The email I received details the error:
Error Details
An error of type E_ERROR was caused in line 195 of the file /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/modern-images-wp-main/src/Setting.php. Error message: Uncaught Error: Call to undefined function Modern_Images_WP\str_to_upper() in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/modern-images-wp-main/src/Setting.php:195
Stack trace:
#0 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/modern-images-wp-main/src/Setting.php(117): Modern_Images_WP\Setting->isImageFormatSupported() #1 /var/www/vhosts/domain.com/httpdocs/wp-admin/includes/template.php(1743): Modern_Images_WP\Setting->Modern_Images_WP{closure}() #2 /var/www/vhosts/domain.com/httpdocs/wp-admin/includes/template.php(1701): do_settings_fields() #3 /var/www/vhosts/domain.com/httpdocs/wp-admin/options-media.php(156): do_settings_sections() #4 {main}
thrown
The text was updated successfully, but these errors were encountered:
I have edited /src/Setting.php and it started working for me. I noticed it doesn't convert the images in Cover blocks, but I assume this is a WordPress limitation.
On /wp-admin/options-media.php when trying to choose an image format for JPGs, it shows the drop-down as:
The email I received details the error:
Error Details
An error of type E_ERROR was caused in line 195 of the file /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/modern-images-wp-main/src/Setting.php. Error message: Uncaught Error: Call to undefined function Modern_Images_WP\str_to_upper() in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/modern-images-wp-main/src/Setting.php:195
Stack trace:
#0 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/modern-images-wp-main/src/Setting.php(117): Modern_Images_WP\Setting->isImageFormatSupported()
#1 /var/www/vhosts/domain.com/httpdocs/wp-admin/includes/template.php(1743): Modern_Images_WP\Setting->Modern_Images_WP{closure}()
#2 /var/www/vhosts/domain.com/httpdocs/wp-admin/includes/template.php(1701): do_settings_fields()
#3 /var/www/vhosts/domain.com/httpdocs/wp-admin/options-media.php(156): do_settings_sections()
#4 {main}
thrown
The text was updated successfully, but these errors were encountered: