Unhandled exception in PHP later that 7.4
-
If upgrade to anything later than php 7.4, MediaList throws the following error:
[03-Jul-2024 00:20:01 UTC] PHP Fatal error: Uncaught TypeError: array_change_key_case(): Argument #1 ($array) must be of type array, bool given in /home/cho/public_html/wp-content/plugins/media-list/medialist.php:68
Stack trace:
#0 /home/cho/public_html/wp-content/plugins/media-list/medialist.php(68): array_change_key_case(false)
#1 /home/cho/public_html/wp-content/plugins/media-list/medialist.php(421): medialistpluginclass->medialistgeturlfilesize(Object(WP_Query))
#2 /home/cho/public_html/wp-includes/shortcodes.php(393): medialistpluginclass->medialistmainplugin(Array, ”, ‘medialist’)
#3 [internal function]: do_shortcode_tag(Array)
#4 /home/cho/public_html/wp-includes/shortcodes.php(265): preg_replace_callback(‘/\\[(\\[?)(medial…’, ‘do_shortcode_ta…’, ‘\n<p>Chicago Reg…’)
#5 /home/cho/public_html/wp-includes/class-wp-hook.php(308): do_shortcode(‘\n<p>Chicago Reg…’)
#6 /home/cho/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘\n<p>Chicago Reg…’, Array)
#7 /home/cho/public_html/wp-includes/post-template.php(255): apply_filters(‘the_content’, ‘<!– wp:paragra…’)
#8 /home/cho/public_html/wp-content/themes/newsup-pro/single.php(80): the_content()
#9 /home/cho/public_html/wp-includes/template-loader.php(106): include(‘/home/cho/publi…’)
#10 /home/cho/public_html/wp-blog-header.php(19): require_once(‘/home/cho/publi…’)
#11 /home/cho/public_html/index.php(17): require(‘/home/cho/publi…’)
#12 {main}
thrown in /home/cho/public_html/wp-content/plugins/media-list/medialist.php on line 68Any help would be appreciated.
- The topic ‘Unhandled exception in PHP later that 7.4’ is closed to new replies.