-
Search Results
-
Hello,
I have already installed basic pro version of the plugin Download Manager Pro v5.3.
Right now it is updated to version 5.3.5
And I have just bought your add-on WPDM Directory Add-on.
While trying to activate it from plugins page, it gives me an error :
Warning: require_once(src/init.php): failed to open stream: No such file or directory in
/public_html/assets/plugins/wpdm-archive-page/wpdm-archive-page.php on line 61Fatal error: require_once(): Failed opening required ‘src/init.php’ (include_path=’.:/usr/local/php74/lib/php’) in /public_html/assets/plugins/wpdm-archive-page/wpdm-archive-page.php on line 61
How can I make it work?
Best regards
ThierryI’m using a custom form with custom fields for my registration form using Quick forms, but I got 3 problems with it:
First fatal error:
Fatal error: Uncaught Error: Method name must be a string in /home/xxxx/www/yyyy/public_html/wp-content/plugins/download-manager/libs/class.Form.php:62There seems to be an empty field somewhere in the custom form (field type is NULL, which is throwing the error).
Fixed it myself for now using:
add_filter('wpdm_reg_form_fields', function($fields) { foreach ($fields AS $field_key ► $field_val) { if (!isset($field_val['type']) || empty($field_val['type'])) { unset($fields[$field_key]); } } return $fields; });=====
Second fatal error:
Radio button type is not working:Fatal error: Uncaught Error: Call to undefined method WPDM\Form::radiobutton() in /home/xxxx/www/yyy/public_html/wp-content/plugins/download-manager/libs/class.Form.php:62======
Third error:
Using the ‘select’ field type, the choices textarea is not showing up in the backend, only when I select ‘checkbox’ first and switching back to ‘select’. Filling in the ‘select’ choices/options is not passing the options to the select field though, it stays empty in the frontend.
Fixed it myself for now using:
add_filter('wpdm_reg_form_fields', function($fields) { $fields['wpdm_cregf_Userregistration__customfield_']['attrs']['options'] = [ 'Option 1' ► 'Option 1', 'Option 2' ► 'Option 2', ]; return $fields; });Topic: Error when downloading
I regularly get this error when downloading something from my website, though not always. Only once in a while. After an error, when I try a second time, it’s okay. It happens with any type of document.
I switched to version 1.3.12 but the error still exists.Notice: A non well formed numeric value encountered in /public_html/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 50
Warning: Illegal string offset ‘602571e7b0fc5’ in /public_html/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 50
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6025710000032 bytes) in /public_html/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 50
Hello ,
In french,
Je rencontre beaucoup d’erreur avec wpdownload manager pro
[09-Feb-2021 13:04:49 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 60228560 bytes) in %PATH-WEBSITE%/wp-includes/wp-db.php on line 2022
[09-Feb-2021 13:08:02 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 60218504 bytes) in %PATH-WEBSITE%/wp-includes/wp-db.php on line 2056par exemple, je n’ai pas accès à la page des téléchargement via /wp-admin/edit.php?post_type=wpdmpro
j’obtiens le message :Une erreur critique est survenue sur ce site. Veuillez consulter la boite de réception de l’e-mail d’administration de votre site pour plus d’informations.
j’ai modifié les valeurs mémoire comme expliqué ici : https://www.wpdownloadmanager.com/support/topic/problem-with-statistics-and-db/#post-146257
Le site est sous PHP 7.4 , table InnoDB
Comment résoudre le problème ?
This is the error that put the site out of memory:
[Mon Feb 08 10:02:59.878158 2021] [proxy_fcgi:error] [pid 5302:tid 139909901481728] [client 185.100.111.24:59318] AH01071: Got error ‘PHP message: PHP Warning: mysqli_query(): MySQL server has gone away in /home/219515.cloudwaysapps.com/efuqhbjwmc/public_html/wp-includes/wp-db.php on line 2056PHP message: PHP Warning: mysqli_query(): Error reading result set’s header in /home/219515.cloudwaysapps.com/efuqhbjwmc/public_html/wp-includes/wp-db.php on line 2056PHP message: PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 60199448 bytes) in /home/219515.cloudwaysapps.com/efuqhbjwmc/public_html/wp-includes/wp-db.php on line 2056’The site has a huge memory limit: 2048 Mb
The problem is in the way the plugin store statistics.
The statistics were reset 10 days ago and the SQL DB BEFORE the statistics reset was 4.8Gb.
After resetting the statistics the DB becomes 51Mb and the site returned to work.
How can we do to block the statistics?
They would be useful but we cannot have to reset them every 10 days. Thanks for your help.Updated first to free WPDM, now Premium WPDM, samme error: cannot acces download files either in backend or by download.
Error is:
503 Service UnavailableThe website is temporarily unable to service your request. Please try again later.
If you are the owner of the website:Most likely the resource limits of the hosting package has been exceeded or a fatal code execution error has occured. Review logs and optimize your code execution.
You can find a full overview of your resource usage in our Controlpanel.
YB2vyOV53anx6lflhlVr-gAAACU – udskrevet.dk – 85.80.232.47
Any ideas about what to do?
Site is http://udskrevet.dk/
I can give all credentials, if necessary
The site is monitored by Sucuri
Cheers
KlavsHi, when I try to open “All Packages” page I got an error (I had to enable debug mode to see it):
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 60173072 bytes) in /home/electrocelos/public_html/motorline.pt/wp-includes/wp-db.php on line 2056 There has been a critical error on this website. Please check your site admin email inbox for instructions. Learn more about debugging in WordPress. WordPress database error: [Commands out of sync; you can't run this command now] SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'wp_yoast_notifications' AND user_id = 9 WordPress database error: [Commands out of sync; you can't run this command now] SHOW FULL COLUMNS FROM <code>wp_usermeta</code>What is wrong?
When the plugin is activate and a post have more than 100 total download, I ot this error message “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 60157656 bytes) in /home/dynasub5/public_html/wp-includes/wp-db.php on line 2056
There has been a critical error on this website.”For exemple
https://dynastyhaiti.com/mixtape-2021-kout-loray-la-tonymixhaiti/Hi,
When I try to go to the ‘all packages’ page I get a critical error:
“There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress”I found this thread in the support forum and have worked through it. I was getting a memory error, and have edited the wp-config.php file
to include:define( 'WP_MEMORY_LIMIT', '1024M' );.I am still getting two errors, the same two I was getting before adding the memory limit:
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 6010704 bytes) in /***/***/public_html/wp-includes/wp-db.php on line 2022
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ds_ct_enqueue_parent’ not found or invalid function name in /***/***/public_html/wp-includes/class-wp-hook.php on line 287
So it seems the memory limit is still an issue, and I’m not sure what the problem with the other error is. Can anyone help?
Thanks,
Emma