Plugin throws error activating plugin with php 8.2
-
Hi
Working with the debug activated, php 8.2 throws an error in different moments using the plugin:
- saving theme options in mega menu -> theme menu
- activating the plugin
The error is: Automatic conversion of false to array is deprecated in /app/wp-content/plugins/megamenu/megamenu.php on line 272
Looking the line, i changed the if statement with if ( !is_array($settings)) {, checking if is an array so the error dissapeared.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin throws error activating plugin with php 8.2’ is closed to new replies.