Search Results for 'fatal error'

Viewing 25 results - 51 through 75 (of 744 total)
  • Author
    Search Results
  • #195178

    Courtney Huber
    Participant

    One more update before I leave for the day as we experienced downtime again today. Flywheel was able to tell us the following at the time of the incident:

    For the PDF viewer, it looks like that plugin is generating a Fatal Error:

    PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /www/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php:68

    Fatal errors like this will break functionality and can also cause quite a slowdown as code isn’t executing properly. We recommend working with the plugin authors to get that patched up at your earliest convenience.

    In addition to the Fatal Error, this plugin is also generating a large number of slow log entries, as is the download-manager plugin. Its possible these two issues are connected. It is generating a huge number more slow log entries than it was yesterday (about 7,000 in the last 24 hours alone).

    #194995

    Courtney Huber
    Participant

    We continue to have issues with Download Manager and PDF Viewer working as intended on our site. In chatting with our host, they’ve been able to share with us the following:

    The site is seeing the following fatal error:

    PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /www/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php:68

    And there’s been over 5,000 slow errors dealing with the download-manager plugin and over 2,000 mentioning the wpdm-pdf-viewer plugin in the past day.

    Our issues are starting with PDFs not previewing and getting an error saying An error occurred while loading the PDF followed by really slow download speeds. Our host is suggesting we take these slow errors to you and work on getting those resolved. A lot of these slow errors are in regards to MySQL queries they’re seeing the MySQL layer CPU spiking to 100% consistently, which is probably the primary cause of the issues we’re seeing with the site going down and not working. The slow logs won’t provide the exact query running, but should provide you some solid information to be able to help get that fixed and stabilize the site.


    Ferry Vanacker
    Participant

    Multiple customers of ours are using your plugin. But for some reason today it will let the loginpage crash and also Gravity Forms can’t send any submits when this plugin is enabled.

    Can you tell me what is wrong with the plugin and please fix it?

    2024/03/28 14:22:47 [error] 716230#716230: *591348 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, null given in /home/knipping/knipping.nl/current/wp-content/plugins/download-manager/src/User/Login.php:458

    Thanks

    #194350

    Nayeem Riddhi
    Moderator

    Hello Jorge Sotolongo,

    Notice errors are minor errors. They are similar to warning errors, as they also don’t stop code execution. I think there should be a fatal or similar error for this critical error. And can you attach such Dir that is not included with ai file for testing if any issue related to the ai file. please check and let me know.

    Thank you and regards


    Nayeem Riddhi
    Moderator

    Glad to hear that, your problems are resolving, However, fatal errors should not be come. It is working properly from our end and with other users too. please check and let me know if you have any queries or help.

    Thank you again and regards


    Courtney Huber
    Participant

    Things seem to be working better this evening. Not sure if that is related to a lack of site traffic potentially. Still concerned that we were receiving fatal errors in the first place and that there are known vulnerabilities according to Wordfence.


    Courtney Huber
    Participant

    I do see things working currently on that test, but as mentioned previously, it has been very intermittent. Have you been able to confirm the errors sent in my first message? Without any resolution to what was causing that error, I’m very uneasy about knowing this is truly solved.

    In our testing, it appears that with the PDF Viewer plugin turned off, downloading files and navigating the site runs more normally and faster. The previews are loading slower than normal and creating all kinds of site speed and preview issues.

    We use Wordfence for added security and have found noted vulnerabilities with the Download Manager plugin (https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/download-manager) which maybe tracks with the fatal errors being called out by Flywheel, our host.

    I do appreciate you digging in on this, but we are not comfortable with the answer that there must be a plugin conflict, especially when it appears there are issues happening with Download Manager itself.

    I plan to do scheduled “maintenance” at 6 p.m. CST tonight to try to identify any plugin conflicts but I don’t anticipate that revealing much since the errors do seem to be intermittent and worse during business hours when there is traffic on the site.

    #193668

    lfenney
    Member
    This reply has been marked as private.

    Courtney Huber
    Participant

    Hi Nayeem. I’ve got everything on our site up to date, including our theme which was causing some issues as well. I just spoke with our host and they are telling me the following:

    I am seeing the same error 600+ times in the logs from the last few days into today and its this –
    “PHP message: PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /www/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php:68

    There is most definitely something going on with this plugin, to be exact, there is 644 fatal errors starting from the 28th into today

    Seems like an issue with the plugin itself…can you please assist?


    Courtney Huber
    Participant

    We have started having issues intermittently with PDF Viewer not generating previews and displaying the error: “An error occurred while loading the PDF.” We are running Version 3.0.6. In chatting with our host about seemingly related site speed issues, they confirmed that the WPDM PDF Viewer plugin is throwing out quite a few fatal errors: “NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /www/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php:68”

    They also said: “It also seems like download-manager is throwing out massive amounts of errors as well, over about 8k within the last 2 hours alone so those may be worth having a look at.” We are running Version 6.5.1 of Download Manager Pro.

    This site is a core offering to our clients and has behaving very unpredictably. Looking for any quick insight or help you can provide to mitigate these issues please.


    NEOnet Website
    Participant
    This reply has been marked as private.
    #192407

    Shahriar
    Moderator

    Please send me the PHP error log file. There is a fatal error on that specific category page, we need to pinpoint the origin of that error to solve the issue.


    NEOnet Website
    Participant
    This reply has been marked as private.

    Omar Saber
    Participant

    These warnings appear inside the log file of the WordPress site, and I do not know what is causing these problems. Use the latest version of your plugins.

    [27-Dec-2023 12:46:14 UTC] PHP Warning: Trying to access array offset on value of type null in /home/*********/public_html/wp-content/plugins/download-manager/src/Package/PackageController.php on line 540

    [27-Dec-2023 12:46:14 UTC] PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /home/********/public_html/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php:68
    Stack trace:
    #0 /home/******/public_html/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php(68): method_exists(NULL, ‘hasPurchased’)
    #1 /home/******/public_html/wp-content/plugins/wpdm-pdf-viewer/wpdm-pdf-viewer.php(97): include(‘/home/kutubpdfa…’)
    #2 /home/******/public_html/wp-includes/class-wp-hook.php(324): WPDM\AddOn\PDFViwer->viewer(Object(WP))
    #3 /home/******/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #4 /home/******/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #5 /home/******/public_html/wp-includes/class-wp.php(830): do_action_ref_array(‘wp’, Array)
    #6 /home/******/public_html/wp-includes/functions.php(1336): WP->main(”)
    #7 /home/******/public_html/wp-blog-header.php(16): wp()
    #8 /home/******/public_html/index.php(17): require(‘/home/kutubpdfa…’)
    #9 {main}
    thrown in /home/******/public_html/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php on line 68

    [27-Dec-2023 13:41:07 UTC] PHP Warning: Undefined array key 3 in /home/******/public_html/wp-content/themes/******/includes/libs/better-framework/libs/class-bf-color.php on line 61

    Is there a solution to these problems or at least an explanation for them?

    #191654

    Siamak
    Member

    I have just tried to open our wordpress website (www.peprimary.co.uk) and have had this message coming up:

    “Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in D:\HostingSpaces\PePrime\peprimary.co.uk\wwwroot\wp-content\plugins\download-manager\widgets\class.Search.php on line 17
    There has been a critical error on your website.

    Learn more about debugging in WordPress.”

    Any idea why? It seems to have something to do wirth WPDM

    Many thanks

    #190587

    FRANCK ANTHONIOZ
    Participant

    The problem is now resolved by adjusting the code line.
    But I guess the issue becomes from something else as the meta_key __wpdm_fileinfo does not exist in the database for this post.
    Maybe something went bad while uploading the image ?
    Please, add this line code on the next version of the plugin : it won’t fix the main issue but it will prevent from a fatal error.

    #190583

    FRANCK ANTHONIOZ
    Participant
    This reply has been marked as private.
    #190580

    FRANCK ANTHONIOZ
    Participant

    Hello,

    I encounter a fatal error on some pages.
    Here is the error : Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 5335472600000032 bytes) in /wp-content/plugins/download-manager/src/Package/FileList.php on line 639

    I followed these steps from this topic : I’ve updated the plugin to the last version 6.4.1 and clear all cache from Settings > Privacy.

    ► Nothing changed ! Still got the error

    So I followed these steps from this topic : I changed the allowed memory limit in wp-config.php and php.ini files to 2048M (that is quite huge !)

    ► Nothing changed ! Still got the error

    Regarding the recommandation from the error, I should allow at least 5335472600M … which is ludicrous !

    What can I do ?

    EDIT: while debugging, the variable $fileinfo is empty because in the database table postmeta, the meta_key __wpdm_fileinfo for this post ID does NOT exists

    #190067

    Gayle Mc Lennan
    Participant

    Hi Nayeem.

    I am getting the following error when I try to load the LearnDash courses page:
    Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 15872294 bytes) in /usr/www/users/stagiruuyr/wp-includes/class-wpdb.php on line 3447

    I have increased the memory to 1GB and still there is a problem.

    There error only disappears and the page loads if I disable the WPDM Reviews Add-On.
    I have also disabled all other plugins except for LearnDash, WPDM Pro.

    Kind regards
    Gayle

    #188698

    Noomia SPRL
    Member

    Hello there,

    I’ve created a custom small plugin that should interact with your plugin. In one of my file, I sue this code:

    namespace package_scanner\model;
    
    use WPDM\Package;
    
    class Post {…}

    Now, since some updates on your plugin, I have a fatal error with “use WPDM\Package;”. What’s wrong? What should I change? Do I have to change other things related to this line?

    Thank you,
    Cedric


    Jon Harari
    Participant

    I hope this message finds you well. I wanted to inform you that we have successfully downloaded the plugin and uploaded it to our server. However, when we attempted to activate it, we encountered a fatal error that is preventing the plugin from activating.

    Fatal error: Uncaught Error: Call to undefined function PrivateMessage\User\wp_date()
    in /srv/windowswear.com/subdomains/wwstg/httpdocs/wp-content/plugins/private-message/src/User/User.php on line 34

    We kindly request your assistance in resolving this issue at your earliest convenience. If you require any further information or access to our server, please do not hesitate to reach out. Your prompt attention to this matter would be highly appreciated.

    Thank you for your support.

    Best regards,

    #187906

    mindoven
    Participant

    Hi, I found a fix, but would be helpfull your opinion about it.

    I found the issue to be in src/admin/views/templates/list-templates.php line 46
    I was getting a PHP Fatal error: Path cannot be empty, so I commented those lines that had the $tmpdata and now is working. I think the issue is with PHP 8. Was preventing to display all the templates in the admin.

                if(!is_array($template)){
                    //$tmpdata = file_get_contents($template);
                    $regx = "/WPDM.*Template[\s]*:([^\-\->]+)/";
    				//if (preg_match($regx, $tmpdata, $matches)) { 
                    if (preg_match($regx, $matches)) {
                        $name = $matches[1];
                    } else continue;
                } else {
                    $name = $template['name'];
                    $ctemplates[] = $ctpl;
                }

    CScience
    Participant
    This reply has been marked as private.

    Noomia SPRL
    Member

    Hello there 🙂

    I hope you’re fine?
    My website was running WPDM 5.3.3 without any issue. Now, I’ve tried to update to 6.3.3 but I have a fatal error that breaks the site:
    PHP Fatal error: Uncaught Error: Class 'WPDM\Package' not found

    This code is in one of my template file. If I comment the lines, the site is “working” again but with some missing infos (due to these commented lines).
    Here are the lines:
    $data['download_link'] = \WPDM\Package::downloadLink($data['ID'], 0, array(
    'template_type' ► 'url'
    ));
    $files = \WPDM\Package::getFiles($data['ID']);

    I guess that this method is not available anymore. But could you tell me how I should replace my code in order to make it work again?

    Kind regards,
    Cedric

    #186128

    futurelab
    Participant
    This reply has been marked as private.
Viewing 25 results - 51 through 75 (of 744 total)