PHP warning on retrieving “mu-plugins” directory
-
Hi,
I found a problem that generating a PHP Warning on the fileadmin-notices.php
at 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 directory
I 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.