Search Results for 'fatal error'

Viewing 25 results - 1 through 25 (of 744 total)
  • Author
    Search Results
  • #211421

    Irina Baumbach
    Participant
    This reply has been marked as private.
    #210951

    Carol Carey
    Participant

    Hi there
    Can you please help me?

    wp-content/plugins/download-manager/src/MediaLibrary/MediaProtection.php syntax error, unexpected ‘|’, expecting ‘;’ or ‘{‘
    on line 630

    Plugin is diabled and I cannot enable it as it causes a fatal error

    #210947

    WordPress-Version 6.9
    Aktuelles Plugin: Download Manager Pro (Version 7.1.0)

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_PARSE wurde in der Zeile 630 der Datei /var/www/clients/client0/web1/web/wordpress_neu/wp-content/plugins/download-manager/src/MediaLibrary/MediaProtection.php verursacht. Fehlermeldung: syntax error, unexpected ‘|’, expecting ‘;’ or ‘{‘

    The plugin crashed the WP Backend, is deactivated now. I tried downloading and reinstalling it – still throws the same error.Is it a known problem?

    #210848

    In reply to: Critical Errors


    Tahasin
    Moderator

    Hello,

    Thanks for reaching out.

    The error was related to v3.3.38 and was immediately resolved. As you can see , the date mentioned in the error is 23 December.

    [23-Dec-2025 05:23:28 UTC] PHP Fatal error:

    If you are encountering this error in the latest version, please share temporary login credentials in a private reply so we can take a closer look.
    Looking forward to your response.

    Regards

    #210846

    amazondotcom
    Member

    Hello! Our site has been experiencing the error below, but only for a couple of users. I cannot seem to replicate the error on my end. Can you advise on what might be the issue? We are running v3.3.46 on WordPress v6.9.

    “[23-Dec-2025 05:23:28 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WPDM\__\wp_generate_password() in [edited out for privacy] wp-content/plugins/download-manager/src/__/Session.php on line 59”

    #210781

    Tahasin
    Moderator

    Hello,

    Thanks for reaching out.

    Are you referring to the issue where, after creating an author dashboard/front end using the WPDM–Elementor add-on, adding a URL triggers a fatal error?

    I look forward to your response.
    Regards

    #210450

    John Sheahan
    Participant

    Getting this all of a sudden:

    [29-Dec-2025 11:03:51 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WPDM__\wp_generate_password() in /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/src//Session.php:59 Stack trace: #0 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/src//Session.php(28): WPDM__\Session::initDeviceID() #1 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/src//Session.php(41): WPDM__\Session::init() #2 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/download-manager.php(181): WPDM__\Session->__construct() #3 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/download-manager.php(151): WPDM\WordPressDownloadManager->__construct() #4 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/download-manager.php(547): WPDM\WordPressDownloadManager::instance() #5 /home/globalhealth/webapps/globalhealth-web/wp-settings.php(560): include_once(‘…’) #6 /home/globalhealth/webapps/globalhealth-web/wp-config.php(125): require_once(‘…’) #7 /home/globalhealth/webapps/globalhealth-web/wp-load.php(50): require_once(‘…’) #8 /home/globalhealth/webapps/globalhealth-web/wp-blog-header.php(13): require_once(‘…’) #9 /home/globalhealth/webapps/globalhealth-web/index.php(17): require(‘…’) #10 {main} thrown in /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/src//Session.php on line 59

    Fixed it by editing teh core files and changing last line to:

    add_action(‘init’, function () {
    \WPDM\WordPressDownloadManager::instance();
    });

    I have the latest version

    #210367

    In reply to: S3 Plugin Issue


    Arianna Bellizzi
    Participant

    Additional Findings (Related JavaScript Error Impacting Upload Context)

    While investigating the autosync issue, we identified a separate but related JavaScript error on the standard post edit screen (/wp-admin/post.php?action=edit) where WPDM packages are edited. The WPDM Amazon S3 add-on script picker-controllers.js throws a fatal error (Uncaught ReferenceError: ajaxurl is not defined), which prevents the S3 picker and upload logic from executing on that screen. Uploads work correctly on the WPDM S3 admin page (edit.php?post_type=wpdmpro&page=wpdm-aws), where ajaxurl is properly defined. This indicates the add-on is relying on ajaxurl being globally available, but it is not defined in all admin contexts (notably post edit screens in multisite). As a result, uploads initiated from the post editor never complete, and therefore never enter the autosync pipeline, which may partially explain why autosync appears nonfunctional for new uploads despite working credentials and UI connectivity.

    I also confirmed that the test site had been autosyncing when I tested it October 25, 2025. Previously I had reached out about the S3 bucket not showing through the plugin, though the objects were syncing. Now the opposite is true.

    #210329

    Ben Kabuula
    Participant

    I have been experiencing the error for three days now anyone who has encountered this??

    Fatal error: Uncaught Error: Call to undefined function WPDM\__\wp_generate_password() in /home2/kdmediam/domains/gospelmusic.com/public_html/wp-content/plugins/download-manager/src/__/Session.php:59 Stack trace: #0

    #208954

    Thank you for the quick replies, unfortunately updating didn’t resolve the issue

    PHP Fatal Uncaught Error: Call to a member function get_page_permastruct() on null
    Stack trace:
    #0 /wp-includes/link-template.php(397): _get_page_link(Object(WP_Post), false, false)
    #1 /wp-content/plugins/download-manager/src/User/Login.php(322): get_page_link(Object(WP_Post))
    #2 /wp-includes/class-wp-hook.php(324): WPDM\User\Login->loginURL(‘https://profoun…’, ”, false)
    #3 /wp-includes/plugin.php(205): WP_Hook->apply_filters(‘https://profoun…’, Array)
    #4 /wp-includes/general-template.php(467): apply_filters(‘login_url’, ‘https://profoun…’, ”, false)
    #5 /wp-content/plugins/translatepress-personal/add-ons-advanced/seo-pack/includes/class-slug-manager.php(1408): wp_login_url()
    #6 /wp-includes/class-wp-hook.php(324): TRP_IN_SP_Slug_Manager->verify_if_is_admin_link_for_slug_translation(false, ‘https://profoun…’)
    #7 /wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
    #8 /wp-content/plugins/translatepress-personal/add-ons-advanced/seo-pack/includes/class-slug-manager.php(1353): apply_filters(‘trp_is_admin_li…’, false, ‘https://profoun…’)
    #9 /wp-includes/class-wp-hook.php(324): TRP_IN_SP_Slug_Manager->translate_request_uri(”)
    #10 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #11 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #12 /wp-settings.php(578): do_action(‘plugins_loaded’)
    #13 /wp-config.php(97): require_once(‘/data/sites/web…’)
    #14 /wp-load.php(50): require_once(‘/data/sites/web…’)
    #15 /wp-blog-header.php(13): require_once(‘/data/sites/web…’)
    #16 /index.php(17): require(‘/data/sites/web…’)
    #17 {main} thrown in /wp-includes/link-template.php on line 435
    WordPress core
    File: /wp-admin/link-template.php
    Line: 435

    #208891

    For some reason using Translatepress (Pro Version) it gives a critical error using the language switcher.

    PHP Fatal

    Uncaught Error: Call to a member function get_page_permastruct() on null

    Stack trace:

    #0 /wp-includes/link-template.php(397): _get_page_link(Object(WP_Post), false, false)

    #1 /wp-content/plugins/download-manager/src/User/Login.php(322): get_page_link(Object(WP_Post))

    #2 /wp-includes/class-wp-hook.php(324): WPDM\User\Login->loginURL(‘https://profoun…’, ”, false)

    #3 /wp-includes/plugin.php(205): WP_Hook->apply_filters(‘https://profoun…’, Array)

    #4 /wp-includes/general-template.php(467): apply_filters(‘login_url’, ‘https://profoun…’, ”, false)

    #5 /wp-content/plugins/translatepress-personal/add-ons-advanced/seo-pack/includes/class-slug-manager.php(1408): wp_login_url()

    #6 /wp-includes/class-wp-hook.php(324): TRP_IN_SP_Slug_Manager->verify_if_is_admin_link_for_slug_translation(false, ‘https://profoun…’)

    #7 /wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)

    #8 /wp-content/plugins/translatepress-personal/add-ons-advanced/seo-pack/includes/class-slug-manager.php(1353): apply_filters(‘trp_is_admin_li…’, false, ‘https://profoun…’)

    #9 /wp-includes/class-wp-hook.php(324): TRP_IN_SP_Slug_Manager->translate_request_uri(”)

    #10 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #11 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #12 /wp-settings.php(578): do_action(‘plugins_loaded’)

    #13 /wp-config.php(97): require_once(‘/data/sites/web…’)

    #14 /wp-load.php(50): require_once(‘/data/sites/web…’)

    #15 /wp-blog-header.php(13): require_once(‘/data/sites/web…’)

    #16 /index.php(17): require(‘/data/sites/web…’)

    #17 {main} thrown in /wp-includes/link-template.php on line 435

    WordPress core
    File: /wp-admin/link-template.php
    Line: 435

    Does someone have a fix for this?

    Kind regards,

    Renzo

    Hello Support Team,

    we are using WordPress Download Manager on our site and are currently facing the following issues:

    PHP Warning: Trying to access array offset on value of type bool in /…/download-manager/src/Admin/views/settings/addon-update.php on line 120
    PHP Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated

    High Memory Usage / Out of Memory:
    When Download Manager runs (especially addon update / statistics functions), PHP memory usage increases up to ~900 MB and leads to fatal “Out of memory” errors (in meta.php and class-wp-object-cache.php).

    After disabling Download Manager, memory usage goes back to normal.

    We are also using Ultimate Member (which creates a lot of usermeta entries) and Avada/RevSlider (heavy frontend). The memory spikes only occur when Download Manager is active, so it seems related to the way it interacts with meta/option queries.

    Statistics:
    We want to completely disable the statistics/logging feature to reduce database writes and memory usage.

    In our current version, we cannot find a clear setting to switch statistics off permanently.

    Is there a constant like define(‘WPDM_NO_STATS’, true); or another recommended way to fully disable statistics?

    Questions:
    How can we fix the warnings/deprecated notices in addon-update.php?
    What is the recommended way to fully disable the statistics module in the current version?
    Are there known fixes for the memory spikes (900 MB+) related to Download Manager, especially when used alongside plugins like Ultimate Member?

    Environment:
    WordPress: [6.8.2]
    PHP: [8.1.33]
    Download Manager: [Version 6.8.1]

    Thank you very much for your help!


    Doug Nix
    Participant

    Hi WPDM team,

    I’m writing to report an interaction between WordPress Download Manager (WPDM) and the Rara Business theme that consistently crashes WPDM single package pages. I’ve included the environment details, the reproducible error, and the workaround we implemented.

    Environment

    WordPress: 6.6.2

    PHP: 8.2 (running on WHC / cPanel with zlib compression enabled)

    WPDM: 3.2.99 (Free)

    Theme: Rara Business (latest from WordPress.org, v1.2.9)

    Hosting: Linux/Apache with Cloudflare in front

    Permalink base for WPDM packages: /files/<slug>/

    Problem description

    After switching the WPDM package permalink base to /files/, visiting a package single page at /files/<package-slug>/ triggers a fatal error.

    Stack trace excerpt:

    PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, WP_Error given
    in /wp-content/themes/rara-business/inc/template-functions.php:433
    #0 /…/template-functions.php(231): rara_business_breadcrumb()
    #1 /wp-includes/class-wp-hook.php(324): rara_business_content_start(”)
    #2 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /wp-content/themes/rara-business/header.php(59): do_action(‘rara_business_content’)
    #4 /wp-content/themes/rara-business/single.php(12): get_header()

    Root cause:
    The theme’s rara_business_content_start() calls rara_business_breadcrumb(), which assumes a post category context. On WPDM singles (custom post type wpdmpro), it receives a WP_Error. This value is passed directly into explode(), producing the fatal.

    What we tried

    Switched to Twenty Twenty-Five → WPDM singles load normally.

    Disabled all MU plugins and caching layers → crash persists with Rara Business.

    Built a child theme to gate the do_action( ‘rara_business_content’ ) call → functional but brittle and caused styling regressions.

    Minimal, upgrade-safe workaround

    We developed a compatibility plugin (wpdm-rara-compat.php) that:

    Removes the theme’s content-start callback from the rara_business_content hook.

    Re-adds it with a guard so it runs everywhere except on WPDM singles.

    Restores normal page layout on WPDM singles by injecting wrapper markup (container/row/content/sidebar) around the_content and aligning the page title.

    Plugin code:

    <?php
    /**
    * Plugin Name: WPDM × Rara Business Compat
    * Description: Prevents Rara breadcrumb crash on WPDM singles, restores layout.
    * Version: 1.0
    */

    add_action(‘after_setup_theme’, function () {
    // Remove theme’s content-start callback
    remove_action(‘rara_business_content’, ‘rara_business_content_start’, 10);

    // Re-add guarded callback
    add_action(‘rara_business_content’, function () {
    if ( is_singular([‘wpdmpro’,’wpdm_package’]) ) return;
    if ( function_exists(‘rara_business_content_start’) ) {
    rara_business_content_start();
    }
    }, 10);
    }, 99);

    // === Layout wrapper for WPDM singles ===
    add_filter(‘the_content’, function ($html) {
    if (!is_singular(‘wpdmpro’) || !in_the_loop() || !is_main_query()) return $html;

    // Prevent double wrapping
    if (str_contains($html, ‘class=”site-content single-wpdmpro”‘)) return $html;

    ob_start(); get_sidebar(); $sidebar = ob_get_clean();

    return
    ‘<div id=”content” class=”site-content single-wpdmpro”>’ .
    ‘<div class=”container”><div class=”row”>’ .
    ‘<main id=”primary” class=”content-area col-lg-8″><div class=”site-main”>’ .
    $html .
    ‘</div></main>’ .
    $sidebar .
    ‘</div></div>’ .
    ‘</div>’;
    }, 20);

    // Align WPDM single title with content column
    add_filter(‘the_title’, function ($title, $post_id) {
    if (is_admin() || !is_singular(‘wpdmpro’) || !in_the_loop() || !is_main_query()) return $title;
    if ((int)$post_id !== (int)get_queried_object_id()) return $title;
    if (strpos($title, ‘wpdm-title-wrap’) !== false) return $title;

    return ‘<div class=”container”><div class=”row”><div class=”col-lg-8 wpdm-title-wrap”>’ .
    $title .
    ‘</div></div></div>’;
    }, 10, 2);

    Current status

    WPDM singles now load correctly at /download/<slug>/. Example: https://complianceinsight.ca/download/press-release-2025-09-02/

    Site styling restored (title + content aligned with container/row).

    No more fatals. Logs show only benign PHP 8.2 notices from the theme’s Customizer notice class (Deprecated: Creation of dynamic property …).

    Suggestions

    WPDM resilience: Adding a defensive check around breadcrumb/taxonomy lookups for custom post types would help WPDM work out-of-the-box with themes that assume posts/categories.

    Theme interaction doc: A short WPDM doc page on “Theme compatibility” (especially around breadcrumb hooks) would help other users avoid this.

    Optional hook: A dedicated filter to let developers wrap WPDM singles in their theme’s grid without intercepting the_content would simplify compatibility work.

    Happy to provide a staging URL or further debug info if you’d like to see the exact crash path in action.

    Thanks for your continued work on WPDM—outside this theme-specific issue, the plugin has been solid.


    Ushir Mehta
    Participant

    We purchased the WPDM Directory Add-on and using it with the DM free version.

    However when using the below shortcode:

    [wpdm_archive button_style=”default” template=”link-template-default-nl” cols=1 items_per_page=”10″ orderby=”title” order=”ASC” login=1 last_state=0]

    We get a critical error of the following:
    Fatal error: Uncaught Error: Class “WPDM\Template” not found in /home/……../wp-content/plugins/wpdm-archive-page/src/Templates/Starter/Starter.php:37 Stack trace: #0

    #207259

    Ibrahim Ahmed
    Participant
    This reply has been marked as private.
    #206382

    Levan Bardavelidze
    Participant

    Good day,

    we have been using the Download Manager Pro plugin for a while on our customer’s website.
    However, it seems that the single download page is no longer working:

    Ziele vs. Werte

    I have activated WP DEBUG but there is no relevant warning or error, only the usual:
    PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cm-download-manager-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/dgkv/htdocs/dgkv.info/wp-includes/functions.php on line 6121

    Additionally, there was this error, but I could not pinpoint during which action this was generated:
    [09-May-2025 08:17:24 UTC] PHP Deprecated: Creation of dynamic property com\cminds\package\pro\v1_9_2\CmindsLicensingAPI::$did_check is deprecated in /home/dgkv/htdocs/dgkv.info/wp-content/plugins/cm-download-manager-pro/package/cminds-api.php on line 213

    If I activate WP Debug to display errors on the website, it only shows the translation errors, and there is no fatal error in the source code.


    Bryan Pierce
    Participant

    Noticed a conflict with the existing archive page plugin (at least I’m assuming so given the error message):

    Fatal error: Uncaught Error: Class "WPDM\Package" not found in /srv/www/wordpress/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php:114 Stack trace: #0 /srv/www/wordpress/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php(311): WPDM_ArchivePage->RenderCats() #1 /srv/www/wordpress/wp-includes/shortcodes.php(434): WPDM_ArchivePage->ArchivePage() #2 [internal function]: do_shortcode_tag() #3 /srv/www/wordpress/wp-includes/shortcodes.php(273): preg_replace_callback() #4 /srv/www/wordpress/wp-includes/class-wp-hook.php(324): do_shortcode() #5 /srv/www/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #6 /srv/www/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1961): apply_filters() #7 /srv/www/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(655): WP_REST_Posts_Controller->prepare_item_for_response() #8 /srv/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Posts_Controller->get_item() #9 /srv/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request() #10 /srv/www/wordpress/wp-includes/rest-api.php(586): WP_REST_Server->dispatch() #11 /srv/www/wordpress/wp-includes/rest-api.php(2973): rest_do_request() #12 [internal function]: rest_preload_api_request() #13 /srv/www/wordpress/wp-includes/block-editor.php(757): array_reduce() #14 /srv/www/wordpress/wp-admin/edit-form-blocks.php(114): block_editor_rest_api_preload() #15 /srv/www/wordpress/wp-admin/post.php(187): require('...') #16 {main} thrown in /srv/www/wordpress/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php on line 114

    Is there something additional I should be accounting for? or has the class been renamed?

    #206129

    Simon Harvey
    Participant

    Also maybe these logs may help?

    [04-May-2025 10:53:38 UTC] PHP Fatal error:  Uncaught Error: Call to a member function format() on null in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Account/user-subscription-invoices.php:51
    Stack trace:
    #0 /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/helper-functions.php(20): include()
    #1 /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Account/AccountManager.php(163): wppm_render_template('/home/xxxxxxx...', Array, true)
    #2 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(324): WPDM\WPPM\Account\AccountManager->renderUserAccount('')
    #3 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #4 /home/xxxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /home/xxxxxxx/public_html/wp-admin/admin.php(260): do_action('wppm_plan_page_...')
    #6 /home/xxxxxxx/public_html/wp-admin/edit.php(10): require_once('/home/xxxxxxx...')
    #7 {main}
      thrown in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Account/user-subscription-invoices.php on line 51
    [04-May-2025 10:53:53 UTC] PHP Fatal error:  Uncaught Error: Call to a member function format() on null in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Account/user-subscription-invoices.php:51
    Stack trace:
    #0 /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/helper-functions.php(20): include()
    #1 /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Account/AccountManager.php(163): wppm_render_template('/home/xxxxxxx...', Array, true)
    #2 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(324): WPDM\WPPM\Account\AccountManager->renderUserAccount('')
    #3 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #4 /home/xxxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /home/xxxxxxx/public_html/wp-admin/admin.php(260): do_action('wppm_plan_page_...')
    #6 /home/xxxxxxx/public_html/wp-admin/edit.php(10): require_once('/home/xxxxxxx...')
    #7 {main}
      thrown in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Account/user-subscription-invoices.php on line 51
    [04-May-2025 11:10:25 UTC] PHP Warning:  Undefined variable $signup_data in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 427
    [05-May-2025 17:29:59 UTC] PHP Warning:  Undefined variable $signup_data in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 427
    [05-May-2025 17:31:31 UTC] PHP Warning:  Undefined variable $user_id in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 259
    [05-May-2025 17:31:31 UTC] PHP Warning:  Undefined array key "wppm_signup_data" in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 261
    [05-May-2025 17:31:31 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 261
    [05-May-2025 17:39:15 UTC] PHP Warning:  Undefined variable $signup_data in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 427
    [05-May-2025 17:39:33 UTC] PHP Warning:  Undefined variable $user_id in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 259
    [05-May-2025 17:39:33 UTC] PHP Warning:  Undefined array key "wppm_signup_data" in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 261
    [05-May-2025 17:39:33 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 261
    [05-May-2025 17:53:41 UTC] PHP Warning:  Undefined variable $signup_data in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 427
    [05-May-2025 17:55:46 UTC] PHP Warning:  Undefined variable $user_id in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 259
    [05-May-2025 17:55:46 UTC] PHP Warning:  Undefined array key "wppm_signup_data" in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 261
    [05-May-2025 17:55:46 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 261
    [05-May-2025 20:06:52 UTC] PHP Warning:  Undefined variable $signup_data in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 427
    [05-May-2025 20:08:16 UTC] PHP Warning:  Undefined variable $user_id in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 259
    [05-May-2025 20:08:16 UTC] PHP Warning:  Undefined array key "wppm_signup_data" in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 261
    [05-May-2025 20:08:16 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php on line 261
    #206127

    Simon Harvey
    Participant

    Maybe these server logs will help?

    [05-May-2025 18:47:24 Europe/London] PHP Fatal error:  Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, WP_Error given in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Auth/AuthManager.php:272
    Stack trace:
    #0 /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Auth/AuthManager.php(272): strpos(Object(WP_Error), ':/')
    #1 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(324): WPDM\WPPM\Auth\AuthManager->download('')
    #2 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #3 /home/xxxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/xxxxxxx/public_html/wp-settings.php(727): do_action('init')
    #5 /home/xxxxxxx/public_html/wp-config.php(105): require_once('/home/xxxxxxx...')
    #6 /home/xxxxxxx/public_html/wp-load.php(50): require_once('/home/xxxxxxx...')
    #7 /home/xxxxxxx/public_html/wp-blog-header.php(13): require_once('/home/xxxxxxx...')
    #8 /home/xxxxxxx/public_html/index.php(17): require('/home/xxxxxxx...')
    #9 {main}
      thrown in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Auth/AuthManager.php on line 272
    [05-May-2025 18:47:25 Europe/London] WordPress database error Column 'oid' cannot be null for query INSERT INTO <code>wp_ahm_download_stats</code> (<code>pid</code>, <code>uid</code>, <code>oid</code>, <code>year</code>, <code>month</code>, <code>day</code>, <code>timestamp</code>, <code>ip</code>, <code>filename</code>, <code>agent</code>, <code>version</code>, <code>type</code>) VALUES ('966', '6349', NULL, '2025', '05', '05', '1746467245', '85.134.202.60', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '', 'package') made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WPDM\WPPM\Auth\AuthManager->download, WPDM\__\DownloadStats->add
    [05-May-2025 18:47:26 Europe/London] PHP Warning:  Undefined variable $package in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Auth/AuthManager.php on line 300
    [05-May-2025 17:56:07 GMT] PHP Warning:  Undefined array key "resource_version" in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PayPal/PayPalWebhookHandler.php on line 29
    [05-May-2025 17:56:07 GMT] WordPress database error Unknown column '99Y39692WC618520Y' in 'where clause' for query SELECT * FROM wp_wppm_invoices WHERE <code>payment_system_invoice_id</code> = 99Y39692WC618520Y made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WPDM\WPPM\Payment\WebhookListener->listen, WPDM\WPPM\Payment\PayPal\PayPalWebhookHandler->handle, WPDM\WPPM\Invoice\Invoice::getByPaymentSystemInvoiceId
    [05-May-2025 20:08:26 GMT] PHP Warning:  Undefined array key "resource_version" in /home/xxxxxxx/public_html/wp-content/plugins/wppromembership/src/Payment/PayPal/PayPalWebhookHandler.php on line 29
    #205738

    Michael Nino
    Participant

    I get this error, and your filter didn’t help, do you have any other ideas?
    [27-Apr-2025 00:05:23 UTC] PHP Fatal error: Uncaught Error: Class “finfo” not found in /public_html/wp-content/plugins/download-manager/src/__/FileSystem.php:989
    Stack trace:
    #0 /public_html/wp-content/plugins/download-manager/src/__/FileSystem.php(1078): WPDM\__\FileSystem::getMimeType(‘/…’)
    #1 /public_html/wp-content/plugins/download-manager/src/Admin/Menu/Packages.php(212): WPDM\__\FileSystem::validateUploadMimeType(‘/…’, ‘hydro-one-outag…’)
    #2 /public_html/wp-content/plugins/download-manager/src/Admin/Menu/Packages.php(159): WPDM\Admin\Menu\Packages->chunkUploadFile(‘/…’)
    #3 /public_html/wp-includes/class-wp-hook.php(324): WPDM\Admin\Menu\Packages->uploadFile(”)
    #4 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #5 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /public_html/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_wpdm_ad…’)
    #7 {main}
    thrown in /public_html/wp-content/plugins/download-manager/src/__/FileSystem.php on line 989

    #205589

    Thanks for the reply!

    Just a suggestion — since this issue caused a fatal error and was fixed by removing a single line in a plugin file, it might be worth reviewing this in the plugin code so that other users don’t run into the same problem.

    Would be great to see it fixed in a future update.

    Thanks again!

    #205584

    Hello! How are you?
    I’m getting the following error when trying to upload a file via WPDM. This error does not accour when uploading via default WP Media

    PHP Fatal error: Uncaught TypeError: finfo_close(): Argument #1 ($finfo) must be of type resource, finfo given in /public_html/wp-content/plugins/download-manager/src/__/FileSystem.php:991
    Stack trace:
    #0 /public_html/wp-content/plugins/download-manager/src/__/FileSystem.php(991): finfo_close()
    #1 /public_html/wp-content/plugins/download-manager/src/__/FileSystem.php(1078): WPDM\__\FileSystem::getMimeType()
    #2 /public_html/wp-content/plugins/download-manager/src/Admin/Menu/Packages.php(162): WPDM\__\FileSystem::validateUploadMimeType()
    #3 /public_html/wp-includes/class-wp-hook.php(324): WPDM\Admin\Menu\Packages->uploadFile()
    #4 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #5 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /public_html/wp-admin/admin-ajax.php(192): do_action()
    #7 {main}
    thrown in /public_html/wp-content/plugins/download-manager/src/__/FileSystem.php on line 991

    #205024

    ogradyg
    Member
    This reply has been marked as private.
    #203753

    ccarey76
    Member

    Fatal error: Uncaught Error: Call to undefined function

    Line 29 of User/User.php


    Johnny
    Participant

    Hello,

    The example on this page throws a PHP fatal error. Can you provide more information on how to use this filter, preferably with a working example?

    https://www.wpdownloadmanager.com/doc/filter-reference/wpdm_package_settings_tabs/

    Thank you!

    Call stack:

    Fatal error: Uncaught Error: Cannot access offset of type string on string
    in /content/live/site/wp-content/plugins/download-manager/src/Admin/views/metaboxes/package-settings.php on line 14

    Call stack:

    include()
    wp-content/plugins/download-manager/src/Admin/AdminController.php:308
    WPDM\Admin\AdminController::packageSettings()
    wp-admin/includes/template.php:1456
    do_meta_boxes()
    wp-admin/edit-form-advanced.php:723
    require()
    wp-admin/post.php:206

Viewing 25 results - 1 through 25 (of 744 total)