- Issue created by @aitala
I'm running a D7 site using PHP 8.1...
The following is showing up in the log files...
Deprecated function: dirname(): Passing null to parameter #1 ($path) of type string is deprecated in drupal_get_path() (line 2970 of /home/ipmsusa3/public_html/drupal7/includes/common.inc).
#0 /home/ipmsusa3/public_html/drupal7/includes/errors.inc(73): _drupal_log_error(Array, false)
#1 /home/ipmsusa3/public_html/drupal7/includes/bootstrap.inc(2668): _drupal_error_handler_real(8192, 'dirname(): Pass...', '/home/ipmsusa3/...', 2970)
#2 [internal function]: _drupal_error_handler(8192, 'dirname(): Pass...', '/home/ipmsusa3/...', 2970)
#3 /home/ipmsusa3/public_html/drupal7/includes/common.inc(2970): dirname(NULL)
#4 /home/ipmsusa3/public_html/drupal7/sites/all/modules/contrib/patch_status/patch_status.pages.inc(401): drupal_get_path('module', 'node_clone')
#5 /home/ipmsusa3/public_html/drupal7/sites/all/modules/contrib/patch_status/patch_status.pages.inc(25): patch_status_get_patches('module', 'node_clone')
#6 /home/ipmsusa3/public_html/drupal7/includes/menu.inc(527): patch_status_update_status()
#7 /home/ipmsusa3/public_html/drupal7/index.php(21): menu_execute_active_handler()
#8 {main}
Any ideas?
Thanks,
Eric
Active
1.1
Code