Simone Marx

Forum Replies Created

Viewing 1 post (of 1 total)
in reply to: WPDM advanced access control : class Email not found #158595

Simone Marx
Participant

Hi,

Plugin: WPDM – Advanced Access Control
Version: 3.0.5
On file wp-content/plugins/wpdm-custom-access-level/wpdm-custom-access-level.php you are calling a method “send()” of a class “Email” in namespace \WPDM.

But on wp-content/plugins/download-manager/src/__/Email.php you are defining the Email class under the namespace \WPDM\__
(note the two underscore). So calling \WPDM\Email::send() causes a fatal (class not found), calling \WPDM\__\Email::send() all works.
So can you correct please on line 768 and 796 of wp-content/plugins/wpdm-custom-access-level/wpdm-custom-access-level.php , changing \WPDM\Email::send() to \WPDM\__\Email::send() ? Thanks, Simone.

Viewing 1 post (of 1 total)