Download manager is causing error on User profile pages

Viewing 12 posts - 1 through 12 (of 12 total)
#131552

sean sewell
Participant

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:

error

  • This topic was modified 4 years, 11 months ago by sean sewell. Reason: spelling
#131555

sean sewell
Participant

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();*/

#131559

sean sewell
Participant

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

#131573

sean sewell
Participant

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?

#131595

Nayeem Riddhi
Moderator

Which PHP version you are running now?

#131613

sean sewell
Participant

Tried both 7.3.5 and 7.4.1

#131676

Shahjada
Keymaster

Hi,
We have fixed the issue, an update is coming within the next few hours.

#131814

sean sewell
Participant

Hi Shahjada,

That seems to have fixed the issues, thanks!

-Sean

#132107

sean sewell
Participant

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

#132108

Shahjada
Keymaster

Not sure exactly. But, no one else reported such an issue.

#132110

sean sewell
Participant

Okay, thanks. If I figure out what’s happening I’ll let you know.

#132111

Shahjada
Keymaster

Thanks :).

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Download manager is causing error on User profile pages’ is closed to new replies.