the plug-in causes a fatal error
-
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.9The 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.
- The topic ‘the plug-in causes a fatal error’ is closed to new replies.