Fatal PHP error

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

Adrian Powell
Participant

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?

#135207

Nayeem Riddhi
Moderator

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

Thanks.

#135211

Adrian Powell
Participant

7.4

#135827

Nayeem Riddhi
Moderator

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

Thanks.

#135828

Adrian Powell
Participant
This reply has been marked as private.
#135829

Nayeem Riddhi
Moderator

please your site URL

#135830

Adrian Powell
Participant
This reply has been marked as private.
#135834

Nayeem Riddhi
Moderator

Hello,

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

Thanks.

#135835

Adrian Powell
Participant
This reply has been marked as private.
#135836

Adrian Powell
Participant
This reply has been marked as private.
#135841

Nayeem Riddhi
Moderator

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.

#135843

Adrian Powell
Participant
This reply has been marked as private.
#136055

Adrian Powell
Participant

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

#136056

Adrian Powell
Participant

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.

#136066

Nayeem Riddhi
Moderator

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.