Block plugins and installed plugins do not load in the website OJS 3.1.2

Hi
In OJS 3.1.2 the plugins like browse block, make submission block and even installed plugins are not shown in the website, although they are activated. These are my error logs:

[06-Mar-2019 01:00:21 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:21 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:21 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:24 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:24 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:24 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:26 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:27 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:27 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:27 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:30 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:30 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:30 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:30 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:31 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:32 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:33 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:33 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:33 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:33 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:44 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:44 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:44 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:45 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:45 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:45 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[06-Mar-2019 01:00:45 Asia/Tehran] PHP Warning: Parameter 1 to GridHandler::fetchRow() expected to be a reference, value given in /home/ccbjourn/public_html/lib/pkp/classes/core/PKPRouter.inc.php on line 390
[06-Mar-2019 01:00:45 Asia/Tehran] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[06-Mar-2019 01:00:45 Asia/Tehran] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ccbjourn/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[06-Mar-2019 01:00:45 Asia/Tehran] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ccbjourn/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134

I also installed this version of OJS on another host; I faced the same wrror with the following error logs:

[06-Mar-2019 00:37:20 Asia/Tehran] PHP Warning: Parameter 1 to GridHandler::fetchRow() expected to be a reference, value given in /home/ccbjir/domains/ccbj.ir/public_html/lib/pkp/classes/core/PKPRouter.inc.php on line 390

[06-Mar-2019 00:37:23 Asia/Tehran] PHP Warning: Parameter 1 to GridHandler::fetchRow() expected to be a reference, value given in /home/ccbjir/domains/ccbj.ir/public_html/lib/pkp/classes/core/PKPRouter.inc.php on line 390

May I ask you to help me in this?

Any solution?

I’m trying to install new themes on OJS 3.1.2-1 (windows XAMPP) and I have a similar error.

The theme is activated in the plugins tab:

FireShot%20Capture%20072%20-%20Ajustes%20del%20sitio%20web%20-%20localhost

But it doesn’t show in the appearance tab

2019-10-03%2009_31_05-Ajustes%20del%20sitio%20web

Log:

[Thu Oct 03 09:13:36.712391 2019] [php7:warn] [pid 12740:tid 1968] [client ::1:60558] PHP Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\controllers\tab\settings\appearance\form\PKPAppearanceForm.inc.php on line 109, referer: http://localhost/ojs-3.1.2-1/index.php/p/management/settings/website
[Thu Oct 03 09:13:45.688383 2019] [php7:warn] [pid 12740:tid 1968] [client ::1:60558] PHP Warning: Parameter 1 to GridHandler::fetchRow() expected to be a reference, value given in C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\core\PKPRouter.inc.php on line 390, referer: http://localhost/ojs-3.1.2-1/index.php/p/management/settings/website