Download manager is causing error on User profile pages

in Download Manager Free

Viewing 12 posts - 1 through 12 (of 12 total)
Jun 25, 2020 at 4:17 pm
#131552
Participant
sean sewell
OP

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 5 years, 8 months ago by sean sewell. Reason: spelling
Jun 25, 2020 at 4:38 pm
#131555
Participant
sean sewell
OP

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

Jun 25, 2020 at 4:47 pm
#131559
Participant
sean sewell
OP

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

Jun 25, 2020 at 7:14 pm
#131573
Participant
sean sewell
OP

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?

Jun 26, 2020 at 5:48 am
#131595
Moderator
Nayeem Riddhi
Staff

Which PHP version you are running now?

Jun 26, 2020 at 12:13 pm
#131613
Participant
sean sewell
OP

Tried both 7.3.5 and 7.4.1

Jun 27, 2020 at 6:55 pm
#131676
Keymaster
Shahjada
Staff

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

Jun 29, 2020 at 4:02 pm
#131814
Participant
sean sewell
OP

Hi Shahjada,

That seems to have fixed the issues, thanks!

-Sean

Jul 2, 2020 at 7:15 pm
#132107
Participant
sean sewell
OP

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

Jul 2, 2020 at 7:27 pm
#132108
Keymaster
Shahjada
Staff

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

Jul 2, 2020 at 7:39 pm
#132110
Participant
sean sewell
OP

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

Jul 2, 2020 at 7:41 pm
#132111
Keymaster
Shahjada
Staff

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.