PHP warning on retrieving “mu-plugins” directory
-
Hi,
I found a problem that generating a PHP Warning on the fileadmin-notices.phpat the line281. This is the PHP warning:opendir(/EXAMPLE_PATH_TO_DIR/wp-content/plugins/../mu-plugins): Failed to open directory: No such file or directoryI think that you can fix it replacing the row with this:
$plugins = get_mu_plugins();There is a WordPress function that do this. Can you fix it please?
PS. I use PHP 8.1
The topic ‘PHP warning on retrieving “mu-plugins” directory’ is closed to new replies.