Fatal PHP error

in Download Manager Free

Viewing 15 posts - 1 through 15 (of 15 total)
Aug 25, 2020 at 8:42 am
#135045
Participant
Adrian Powell
OP

I tried to use the update tab to see if any plugins needed updating and got this message:

 Fatal error: Uncaught Error: Call to undefined function WPDM\admin\menus\remote_get()
in /wp-content/plugins/download-manager/admin/menus/class.Settings.php on line 307

Any ideas?

Aug 27, 2020 at 4:41 pm
#135207
Moderator
Nayeem Riddhi
Staff

Which PHP version you are using? please let me know.

Thanks.

Aug 27, 2020 at 5:01 pm
#135211
Participant
Adrian Powell
OP

7.4

Sep 5, 2020 at 8:19 am
#135827
Moderator
Nayeem Riddhi
Staff

sorry for some late reply. please, give your temporary wp-admin login details in a private reply for checking the issue.

Thanks.

Sep 5, 2020 at 8:34 am
#135828
Participant
Adrian Powell
OP
This reply has been marked as private.
Sep 5, 2020 at 8:43 am
#135829
Moderator
Nayeem Riddhi
Staff

please your site URL

Sep 5, 2020 at 8:44 am
#135830
Participant
Adrian Powell
OP
This reply has been marked as private.
Sep 5, 2020 at 9:25 am
#135834
Moderator
Nayeem Riddhi
Staff

Hello,

I have seen that, your all plugins are up to date. how can I check for that issue?

Thanks.

Sep 5, 2020 at 9:28 am
#135835
Participant
Adrian Powell
OP
This reply has been marked as private.
Sep 5, 2020 at 9:29 am
#135836
Participant
Adrian Powell
OP
This reply has been marked as private.
Sep 5, 2020 at 10:14 am
#135841
Moderator
Nayeem Riddhi
Staff

When pressing the tab this error is occurring as I image attached,

server_error_up

can you check your server extension, if there any installation missed?

Thanks.

Sep 5, 2020 at 10:32 am
#135843
Participant
Adrian Powell
OP
This reply has been marked as private.
Sep 9, 2020 at 6:37 am
#136055
Participant
Adrian Powell
OP

I am still getting the error when I visit the plugin update page (https://mysite/wp-admin/edit.php?post_type=wpdmpro&page=settings&tab=plugin-update.

Hi! Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, Download Manager. First, visit your website and check for any visible issues. Next, visit the page where the error was caught (https://mysite/wp-admin/edit.php?post_type=wpdmpro&page=settings&tab=plugin-update) and check for any visible issues. Please contact your host for assistance with investigating this issue further. When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.5.1 Current theme: CharityFoundation Child (version 1.8) Current plugin: Download Manager (version 3.1.08) PHP version 7.4.9 Error Details ============= An error of type E_ERROR was caused in line 307 of the file /public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php. Error message: Uncaught Error: Call to undefined function WPDM\admin\menus\remote_get() in /public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php:307 Stack trace: #0 /public_html/wp-content/plugins/download-manager/admin/tpls/settings.php(33): WPDM\admin\menus\Settings->pluginUpdate() #1 /public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php(41): include(‘/…’) #2 /public_html/wp-includes/class-wp-hook.php(287): WPDM\admin\menus\Settings->UI(”) #3 /public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #4 /public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /public_html/wp-admin/admin.php(259): do_action(‘wpdmpro_page_se…’) #6 /public_html/wp-admin/edit.php(10): require_once(‘/…’) #7 {main} thrown

Sep 9, 2020 at 6:42 am
#136056
Participant
Adrian Powell
OP

Line 307 of plugins/download-manager/admin/menus/class.Settings.php reads

$purchased_items = remote_get('https://www.wpdownloadmanager.com/?wpdmppaction=getpurchaseditems&wpdm_access_token=' . wpdm_access_token());

If you change this to

$purchased_items = wpdm_remote_get('https://www.wpdownloadmanager.com/?wpdmppaction=getpurchaseditems&wpdm_access_token=' . wpdm_access_token());

It works.

Sep 9, 2020 at 9:01 am
#136066
Moderator
Nayeem Riddhi
Staff

Yes, we have found the issue. if your adjustments are appropriate we shall add it to our next release.

Thanks.

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

The topic "Fatal PHP error" is closed to new replies.