When I activated the coursepress pro pllugin, I got this warning message at the top of the page, above the header area:
Warning: in_array() expects parameter 2 to be array, null given in /home1/avirog/public_html/wp-content/themes/generatepress/inc/navigation.php on line 207
The warning repeats eight times.
What does this refer to, and how do I fix it?
I deactivated all the plugins, in order to determine which plugin was causing this, and it was the Coursepress pro plugin.
Wordpress, theme, and wpmu dev are all the latest versions.
I switched to a Wordpress theme, and the site looks vastly different, but I did not get the error message.
Does the warning message indicate a certain part of the theme I was using needs to be modified in some way? I want to keep using the theme I had before.
Thanks for any guidance!
All the best,