PHP Fatal error: web feed plugin

i have a error-log with the following error:
PHP Fatal error: Call to a member function getId() on null in /home/rubatosi/public_html/journal/plugins/generic/webFeed/WebFeedBlockPlugin.inc.php on line 99

Hi @salman20054,

Which of our applications are you using, and what version? (Please include this in your posts.)

Regards,
Alec Smecher
Public Knowledge Project Team

I am using ojs application version 3.1

Hi @salman20054,

What is the URL for the request that causes this error?

Regards,
Alec Smecher
Public Knowledge Project Team

https://www.rubatosis.in/journal/index.php/IJRPST

[19-Mar-2018 17:59:01 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/rubatosi/public_html/journal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 19
[19-Mar-2018 17:59:01 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/rubatosi/public_html/journal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 19
[19-Mar-2018 17:59:01 UTC] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/rubatosi/public_html/journal/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[19-Mar-2018 17:59:01 UTC] PHP Strict Standards: Declaration of CustomBlockGridRow::initialize() should be compatible with GridRow::initialize($request, $template = NULL) in /home/rubatosi/public_html/journal/plugins/generic/customBlockManager/controllers/grid/CustomBlockGridRow.inc.php on line 0
[19-Mar-2018 17:59:01 UTC] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/rubatosi/public_html/journal/lib/pkp/classes/form/Form.inc.php on line 369
[19-Mar-2018 17:59:01 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/rubatosi/public_html/journal/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[19-Mar-2018 17:59:07 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/rubatosi/public_html/journal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 19
[19-Mar-2018 17:59:07 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/rubatosi/public_html/journal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 19
[19-Mar-2018 17:59:07 UTC] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/rubatosi/public_html/journal/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[19-Mar-2018 17:59:07 UTC] PHP Strict Standards: Declaration of CustomBlockGridRow::initialize() should be compatible with GridRow::initialize($request, $template = NULL) in /home/rubatosi/public_html/journal/plugins/generic/customBlockManager/controllers/grid/CustomBlockGridRow.inc.php on line 0
[19-Mar-2018 17:59:07 UTC] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/rubatosi/public_html/journal/lib/pkp/classes/form/Form.inc.php on line 388
[19-Mar-2018 17:59:07 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/rubatosi/public_html/journal/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[19-Mar-2018 17:59:07 UTC] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/rubatosi/public_html/journal/lib/pkp/classes/form/Form.inc.php on line 388
[19-Mar-2018 17:59:07 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/rubatosi/public_html/journal/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[19-Mar-2018 17:59:07 UTC] PHP Deprecated: Non-static method PKPRequest::isPost() should not be called statically, assuming $this from incompatible context in /home/rubatosi/public_html/journal/lib/pkp/classes/form/validation/FormValidatorPost.inc.php on line 38
[19-Mar-2018 17:59:07 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/rubatosi/public_html/journal/lib/pkp/classes/core/PKPRequest.inc.php on line 396
[19-Mar-2018 17:59:07 UTC] PHP Fatal error: Call to a member function getSetting() on string in /home/rubatosi/public_html/journal/plugins/generic/customBlockManager/controllers/grid/form/CustomBlockForm.inc.php on line 90

Hi @salman20054,

How did you install the custom block manager plugin? Is it possible that you’ve mixed code from OJS 3.1 in with code from another release?

Regards,
Alec Smecher
Public Knowledge Project Team

i collected that files from one of author in github an deposited in cpanel

Hi @salman20054,

Can you be more specific? Where exactly did you download it from?

Regards,
Alec Smecher
Public Knowledge Project Team

probably i forget the username but i got from github only
still have that plugin files with me

Hi @salman20054,

I suspect that you’re mixing incompatible versions of source code together. If possible, remove the version of the custom block manager plugin that you’ve installed, and install it again from within OJS’s Plugin Gallery.

Regards,
Alec Smecher
Public Knowledge Project Team

previously i tried i posted question also related to that in ojs plugin gallery after selecting install then after that the dialogue box open for confirmation when clicking on ok its doesn’t responds except cancel

Desktop%20screenshot%20(3)

Hi @salman20054,

What do you see in your error log when you try to install a plugin via the Plugin Gallery? Look for a message that contains the word “Error” in it; you can generally ignore warnings.

Regards,
Alec Smecher
Public Knowledge Project Team

[19-Mar-2018 19:57:24 UTC] PHP Warning: copy(https://github.com/pkp/translator/releases/download/ojs-3_1_0-0/translator-ojs-3_1_0-0.tar.gz): failed to open stream: no suitable wrapper could be found in /home/rubatosi/public_html/journal/lib/pkp/classes/file/FileManager.inc.php on line 159
[19-Mar-2018 19:57:24 UTC] ojs2: Incorrect MD5 checksum!

Hi @salman20054,

It looks like the allow_url_include option is turned off in your PHP configuration. You’ll need to change your PHP configuration to enable this.

Regards,
Alec Smecher
Public Knowledge Project Team

how to change allow_url_include option in php config it?

Hi @salman20054,

This will depend on your web server’s setup. It’s outside of OJS. You might need to check with your host for details.

Regards,
Alec Smecher
Public Knowledge Project Team

i gone through many sites regardin the allow_url_include at last i find this on my c panel that allow_url_include is on

even i changed the memory limit also based on this link: How to change the PHP runtime configuration from WHM? - Knowledgebase - AccuWebHosting