I’ve updated PHP to the newest version and this error is persisting. I don’t need any user specific access as I’m using a membership plugin, can I disable this feature if there is no fix?
Warning: include(/public/wp-content/plugins/download-manager/admin/tpls/edit-store-profile.php): failed to open stream: No such file or directory in /public/wp-content/plugins/download-manager/libs/class.User.php on line 112
Here’s a screenshot of the error on the user page in the dashboard:
So, on line 129 in download-manager.php I commented out the following lines and the error went away and the library portion still seems to work. A very hacky workaround, do you have a better solution?
/* $this->userDashboard = new UserDashboard();
$this->userProfile = new UserProfile();
$this->user = new User();
$this->apply = new Apply();
$this->admin = new WordPressDownloadManagerAdmin();
$this->shortCode = new ShortCodes();
//new MediaHandler();
new MediaAccessControl();
$this->package = new Package();
$this->category = new CategoryHandler();
$this->categories = $this->category;
$this->setting = new Settings();
$this->fileSystem = new FileSystem();
$this->template = new Template();
$this->packageTemplate = new PackageTemplate();*/
Actually, that messed up the datatables. After un-commenting the above file I continue to get this error on the page where i have the table:
DataTables warning: table id=wpdmmydls-0005674b4e45dc4fbd22e665dd9ff271 – Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3
I’ve sorted out the datatables problem, separate issue.
Commenting out these three lines removes the error from the user profile pages:
// $this->userDashboard = new UserDashboard();
// $this->userProfile = new UserProfile();
// $this->user = new User();
Is there a real fix for this?
Which PHP version you are running now?
Tried both 7.3.5 and 7.4.1
Hi,
We have fixed the issue, an update is coming within the next few hours.
Hi Shahjada,
That seems to have fixed the issues, thanks!
-Sean
Hi there,
I don’t’ know if this is a common problem, but when deploying from local to live (using localwp and & divi theme), the theme breaks on the live site. It works again after I disable and re-enable he plugin. This has happened consistently for the past two updates.
-Sean
Not sure exactly. But, no one else reported such an issue.
Okay, thanks. If I figure out what’s happening I’ll let you know.
The topic ‘Download manager is causing error on User profile pages’ is closed to new replies.