-
Search Results
-
Topic: Error on upgrade 2.8.9
Hello we are now getting an error
Plugin could not be activated because it triggered a fatal error.
The site encountered a problem that it cannot recover from. Please use the following information to try to resolve the problem.Error Message
Fatal Error: syntax error, unexpected T_STRING in /home/content/81/8798681/html/wp-content/plugins/download-manager/download-manager.php on line 12
DescriptionThe Download Manager plugin code created an error that caused PHP execution to fail.
This type error is called a “syntax error.” A syntax error means that the format of the code is invalid. Examples of syntax errors: a missing semicolon after a line of code, having mismatched parentheses, forgetting to put a dollar sign ($) in front of a variable’s name, and forgetting an operator — such as a plus sign (+) — between two variables. There are many other possible causes of syntax errors, the preceding are just a few examples.
Solutions
Invalid code modifications can cause this problem. If you have made any modifications to the plugin, remove them and try to load the site again.
It is possible that this plugin’s code is out of date and that an upgrade is available. Check with the plugin’s author to see if an upgrade is available.
There may be a conflict with another plugin running on the site. Try upgrading the other plugins on the site. A plugin conflict can be ruled out by deactivating all the other active plugins on the site and checking to see if the error still occurs.
The Download Manager plugin may not have been fully uploaded. Uploading the plugin again could fix the issue. Important: If you do this, you will lose any modifications made to the plugin.Hello,
after updating to version 2.8.9 I get an error saying
Parse error: syntax error, unexpected T_STRING in /wp-content/plugins/download-manager/download-manager.php on line 12
Do you know where the problem is and how I can solve this?
Thanks in advance!
Getting a fatal error with 4.5.3 update on this line:
new \WPDM\AuthorDashboard();Everything was fine with 4.4.0. Needs fixing urgently?
I have been using the WPDM free version for over half a year, the previous (still current) version is 2.7.95, and it all works well. But since I updated the version, the problem keeps occurring. The newest version is the most severe one. After I installed the update, all the files cannot be downloaded, only the “Link expired” or “File not found” txt after clicking the download button.
So now I roll back the version to the 2.7.95 and everything is just fine. But I still wanna try the new features in the newest version. Can the author check the problems for me?
Topic: v2.8.9 fatal error
cant activate plugin i see that:
Parse error: syntax error, unexpected T_STRING in /home/a9515777/public_html/wp-content/plugins/download-manager/download-manager.php on line 12Topic: Problems with 2.8.8
After upgrading this morning my site went down, displaying only a blank page. After troubleshooting plugins I discovered WP Download Manager was the offending culprit. I tried to re-install, v 2.8.8 and when trying to activate I get an error “plugin could not be activated because it triggered a fatal error Parse error: syntax error, unexpected T_STRING in /home3/speakupp/public_html/wp-content/plugins/download-manager/download-manager.php on line 12.
I am running X-theme. Please advise.Topic: 4.5.0 Bug: class.Package.php
Hey there! We recently updated to the 4.5.0 version of the plugin on a client site and everything sort of blew up. We managed to track the error down to the wpdm_ functions being used in the theme files and from there to an instantiate error inside of the class.
Error:
“PHP message: PHP Fatal error: Using $this when not in object context in /public_html/wp-content/plugins/download-manager/libs/class.Package.php on line 195”That error in itself is rather vague, but we managed to track it back to the “Get” method which was calling “Prepare” statically (and thus negating all that clever work with the $this variable) when trying to retrieve data and well, PHP then falls on it’s face.
A quick workaround has been implemented, but we hope that you will take a look at this and add it to some potential future fixes.
Line 214:
$package = self::Prepare($ID);Temporary Fix:
$test = new Package;
$package = $test->Prepare($ID);
//$package = self::Prepare($ID);Deleted the original plugin, successfully uploaded the update. However, when trying to activate I get the following fatal error:
Parse error: syntax error, unexpected T_STRING in /home4/spreads5/public_html/wp-content/plugins/download-manager/download-manager.php on line 11
Topic: Error using 2.8.5
I have just updated to WP 4.4.1 and Download Manager 2.8.5 and now get the following error when trying to activate the plugin:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING in /homepages/38/d198945351/htdocs/fox/wp-content/plugins/download-manager/download-manager.php on line 11
Any pointers on how to fix this would be appreciated.
Hi, for the packages ‘Midland Networks brochure’ and ‘bt guarantee and compensation guidelines’ the download sizes show as 0kb and when you click download it downloads a ‘download-not-available’ .txt file despite me uploading a file to them that I’m pretty sure are not 0kb?
Also getting an error message when trying to download ‘Midland Networks Directions’. Something about encryption? But the size I upload is not encrypted in any way or anything? Full text of error:
“Fatal error: Uncaught exception ‘Exception’ with message ‘File is encrypted!’ in /homepages/17/d577652906/htdocs/midland/wp-content/plugins/wpdm-pdf-stamper/libs/fpdi1.5.2/pdf_parser.php:247 Stack trace: #0 /homepages/17/d577652906/htdocs/midland/wp-content/plugins/wpdm-pdf-stamper/libs/fpdi1.5.2/pdf_parser.php(214): pdf_parser->getEncryption() #1 /homepages/17/d577652906/htdocs/midland/wp-content/plugins/wpdm-pdf-stamper/libs/fpdi1.5.2/fpdi_pdf_parser.php(71): pdf_parser->__construct(‘/homepages/17/d…’) #2 /homepages/17/d577652906/htdocs/midland/wp-content/plugins/wpdm-pdf-stamper/libs/fpdi1.5.2/fpdi.php(128): fpdi_pdf_parser->__construct(‘/homepages/17/d…’) #3 /homepages/17/d577652906/htdocs/midland/wp-content/plugins/wpdm-pdf-stamper/libs/fpdi1.5.2/fpdi.php(108): FPDI->_getPdfParser(‘/homepages/17/d…’) #4 /homepages/17/d577652906/htdocs/midland/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php(219): FPDI->setSourceFile(‘/homepages/17/d…’) #5 /homepages/17/d577652906/htdocs/midland/wp-content/plugins/wpd in /homepages/17/d577652906/htdocs/midland/wp-content/plugins/wpdm-pdf-stamper/libs/fpdi1.5.2/pdf_parser.php on line 247”Any ideas? Thanks.
The page in question is here: https://www.midlandnetworks.co.uk/downloadpackages.htmlHello,
we are using the backend to upload files (Downloads > Add New). With bigger files (not too much, just 5-10 MB), after the upload, in the “Attached files” metabox appears the error:
Fatal error: Maximum execution time of 300 seconds exceeded in C:\wamp2\www\wp-admin\admin-ajax.php on line 16 Call Stack #TimeMemoryFunctionLocation 10.0000154720{main}( )..\admin-ajax.php:0 " name="file[files][]">(see the attached screenshot).
We suppose it’s in the AJAX call that inserts the correct icon…
What can we do?
Thanks!
Topic: payment error
I have set Paypal as my chosen payment method.
When I click the “Pay now ” button on the cart page, I get the following error:Fatal error: Call to undefined function dd() in /homepages/7/d36977868/htdocs/wpblogs/mkt/wp-content/plugins/wpdm-premium-packages/libs/class.order.php on line 27
What has gone wrong
I’ve updated Download Manager and the Extended Short Codes plugins to the latest. Now, when I use the tree view and click on one of the categories, I get an error message instead of the files. The error is: Fatal error: Fatal error: Call to undefined function wpdm_user_has_access() in […]public_html/wp-content/plugins/wpdm-extended-shortcodes/wpdm-extended-shortcodes.php on line 455
Any ideas why this is happening?
Thank you,
MattHello.,
I have just installed Download Manager Pro plugin in my local system. and testing it.
When i have used the shortcode ‘[wpdm_tree]’ and related to displaying tree view of folders. i foudn error like
Fatal error: Call to undefined function wpdm_user_has_access()
C:\xampp\htdocs\mysite\wp-content\plugins\wpdm-extended-shortcodes\wpdm-extended-shortcodes.php on line 455
i have tried these also
[wpdm_tree category=”category-slug”]
[wpdm_tree download_link=1]but no use.
Please help!