Call to a member function getId() on null in

I was wondering why my web feed plugin suddenly stopped working sitewide.
After that, while it’s enabled, the main menu (in the header) won’t work correctly and the contents of the footer and all plugins in it will be gone.

All that happened suddenly and I didn’t change anything. In journals themselves, the plugin works fine.

Here is the error log:

[01-May-2021 20:30:49 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getId() on null in /home2/serverte/public_html/ojs_test/ojs_medicine_temp/plugins/generic/webFeed/
Stack trace:
#0 /home2/serverte/public_html/ojs_test/ojs_medicine_temp/lib/pkp/classes/template/ WebFeedBlockPlugin->getContents(Object(Smarty_Internal_Template), Object(Request))
#1 /home2/serverte/public_html/ojs_test/ojs_medicine_temp/lib/pkp/classes/plugins/ PKPTemplateManager->displaySidebar('Templates::Comm...', Array)
#2 /home2/serverte/public_html/ojs_test/ojs_medicine_temp/lib/pkp/classes/template/ HookRegistry::call('Templates::Comm...', Array)
#3 /home2/serverte/public_html/ojs_test/ojs_medicine_temp/cache/t_compile/65bfc3e024c2e9104f46e23b73376a9455e3df0e^ PKPTemplateManager->smartyCallHook(Array, Object(Smarty_Internal_Template))
#4 /home2/serverte/public_html in /home2/serverte/public_html/ojs_test/ojs_medicine_temp/plugins/generic/webFeed/ on line 85

Would you please help me?
Thank you for your supports and suggestions.

Hi @makh,

Can you please indicate the OJS version that you are using?

PKP Team

i’m currently using version

I have the same problem, I’ve researched and I can not help. I’m using version 3_3_0-10, someone help us!

@makh you got solution for this issue? I am having the same challenge you faced. I know it was long time ago. I would like to know how you fixed.