Error warning in persist-admin-notices-dismissal.php on line 161
-
Since version 4.15.12 of the plugin, I have been receiving the following error:
“Warning: Cannot declare class PAnD, because the name is already in use in ../wp-content/plugins/wp-user-avatar/third-party/vendor/collizo4sky/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php on line 161”
When we look at line 161, the code
\class_alias('ProfilePressVendor\PAnD', 'PAnD', \false);
is present. I disabled this code or added the line@ini_set( 'display_errors', 0 );
to wp-config.php to hide this warning, but wouldn’t it be better if the plugin developer found a solution so that this isn’t necessary?
- You must be logged in to reply to this topic.