• Resolved sprytnawswieci

    (@sprytnawswieci)


    Suddenly a plugin causes a fatal error on my site.
    When I tried to add files to downloads, I would get a fatal error.
    Problem data:
    WordPress version 5.6
    Current Theme: Hilary Theme (version 2.6) – Genesis
    Current plugin: Download Monitor (version 4.4.4)
    PHP version: 7.4.9

    The E_ERROR error was caused on line 12 of /home/sprytnawsieci/public_html/wp-content/plugins/download-monitor/templates/content-download-title.php. Error message: Uncaught Error: Call to a member function get_version () on null in /home/sprytnawsieci/public_html/wp-content/plugins/download-monitor/templates/content-download-title.php:12
    Stack trace:
    # 0 /home/sprytnawsieci/public_html/wp-content/plugins/download-monitor/src/TemplateHandler.php(90): include ()
    # 1 /home/sprytnawsieci/public_html/wp-content/plugins/download-monitor/src/Gutenberg.php(111): DLM_Template_Handler-> get_template_part (‘content-downloa …’, ‘title’, ”, Array )
    # 2 /home/sprytnawsieci/public_html/wp-includes/class-wp-block.php(221): DLM_Gutenberg-> render_download_button (Array, ”, Object (WP_Block))
    # 3 /home/sprytnawsieci/public_html/wp-includes/class-wp-block.php(211): WP_Block-> render ()
    # 4 /home/sprytnawsieci/public_html/wp-includes/class-wp-block.php(211): WP_Block-> render ()
    # 5 /home/sprytnawsieci/public_html/wp-includes/blocks.php(722): WP_Block-> render ()
    # 6 /home/sprytnawsieci/public_html/wp-includes/blocks.php(760): render_block (Array)
    # 7 / home / sprytnawsieci / public_html / wp-includes / class-wp-hook.

Viewing 1 replies (of 1 total)
  • Plugin Author Razvan Aldea

    (@raldea89)

    Hello @sprytnawswieci ,

    I am sorry for both this late reply and the fact that you experienced this issue. Just tested this on a local installation but could not get that error ( WP 5.7 and Download Monitor 4.4.4 ). Does this error persist or is it solved now? And if it has been solved, could you be kind and tell us what was the cause of it?

    Best Regards!
    Razvan

Viewing 1 replies (of 1 total)
  • The topic ‘the plug-in causes a fatal error’ is closed to new replies.