{"id":12663600,"date":"2020-04-12T16:20:51","date_gmt":"2020-04-12T16:20:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-failed-to-load-properly-2\/"},"modified":"2020-04-12T16:20:51","modified_gmt":"2020-04-12T16:20:51","slug":"plugin-failed-to-load-properly-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-failed-to-load-properly-2\/","title":{"rendered":"Plugin failed to load properly"},"content":{"rendered":"<p>I&#8217;m having an issue with using the Download Monitor Button Block within the Gutenberg editor. The error is triggered by something I&#8217;m not familiar with.<\/p>\n<p>I was at first trying to use a custom template but have since reverted to the default template.<\/p>\n<p>This is the error I see in the recovery mode:<\/p>\n<p>https:\/\/www.dropbox.com\/s\/zw7abkf7xkjuiut\/Screenshot%202020-04-12%2010.13.10.png?dl=0<\/p>\n<p>WordPress also generates this error:<\/p>\n<p>Error Details<br \/>\n=============<br \/>\nAn error of type E_ERROR was caused in line 13 of the file \/home3\/withmediayourdev\/public_html\/aea\/wp-content\/themes\/generatepress_child\/download-monitor\/content-download-aea.php. Error message: Uncaught Error: Call to a member function get_version() on null in \/home3\/withmediayourdev\/public_html\/aea\/wp-content\/themes\/generatepress_child\/download-monitor\/content-download-aea.php:13<br \/>\nStack trace:<br \/>\n#0 \/home3\/withmediayourdev\/public_html\/aea\/wp-content\/plugins\/download-monitor\/src\/TemplateHandler.php(90): include()<br \/>\n#1 \/home3\/withmediayourdev\/public_html\/aea\/wp-content\/plugins\/download-monitor\/src\/Gutenberg.php(111): DLM_Template_Handler-&gt;get_template_part(&#8216;content-downloa&#8230;&#8217;, &#8216;aea&#8217;, &#8221;, Array)<br \/>\n#2 \/home3\/withmediayourdev\/public_html\/aea\/wp-includes\/class-wp-block-type.php(109): DLM_Gutenberg-&gt;render_download_button(Array, &#8221;)<br \/>\n#3 \/home3\/withmediayourdev\/public_html\/aea\/wp-includes\/blocks.php(487): WP_Block_Type-&gt;render(Array, &#8221;)<br \/>\n#4 \/home3\/withmediayourdev\/public_html\/aea\/wp-includes\/blocks.php(478): render_block(Array)<br \/>\n#5 \/home3\/withmediayourdev\/public_html\/aea\/wp-includes\/blocks.php(478): render_block(Array)<br \/>\n#6 \/home3\/withmediayourdev\/public_html\/aea\/wp-includes\/blocks.php(537): render_block(Array)<br \/>\n#7 \/h<\/p>\n","protected":false},"template":"","class_list":["post-12663600","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12663600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12663600\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12663600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}