Upgrade from 2.4.6 to 3.0.1 error

Hi,

I am trying to upgrade my OJS 2.4.6 installation to 3.0.1 but i get these ff. errors on the homepage.

Strict Standards: Declaration of RelatedItemsBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/test/public_html/plugins/blocks/relatedItems/RelatedItemsBlockPlugin.inc.php on line 18
Strict Standards: Declaration of InformationBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/test/public_html/plugins/blocks/information/InformationBlockPlugin.inc.php on line 54
Strict Standards: Declaration of LanguageToggleBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/test/public_html/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 106
Strict Standards: Non-static method Version::fromString() should not be called statically in /home/test/public_html/lib/pkp/classes/site/VersionCheck.inc.php on line 115
Warning: Cannot modify header information - headers already sent by (output started at /home/test/public_html/plugins/blocks/relatedItems/RelatedItemsBlockPlugin.inc.php:18) in /home/test/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 781
Warning: Cannot modify header information - headers already sent by (output started at /home/test/public_html/plugins/blocks/relatedItems/RelatedItemsBlockPlugin.inc.php:18) in /home/test/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 784

And i get an error 500 during the upgrade with these on the logs

[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Only variables should be passed by reference in /home/test/public_html/lib/pkp/classes/core/PKPApplication.inc.php on line 210
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of GoogleAnalyticsPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/test/public_html/plugins/generic/googleAnalytics/GoogleAnalyticsPlugin.inc.php on line 147
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of PdfJsViewerPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/test/public_html/plugins/generic/pdfJsViewer/PdfJsViewerPlugin.inc.php on line 136
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of RecommendByAuthorPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/test/public_html/plugins/generic/recommendByAuthor/RecommendByAuthorPlugin.inc.php on line 156
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of WebFeedPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/test/public_html/plugins/generic/webFeed/WebFeedPlugin.inc.php on line 190
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of BrowsePlugin::manage() should be compatible with Plugin::manage($args, $request) in /home/test/public_html/plugins/generic/browse/BrowsePlugin.inc.php on line 162
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of BrowsePlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/test/public_html/plugins/generic/browse/BrowsePlugin.inc.php on line 162
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of LensGalleyPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/test/public_html/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 157
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of OrcidProfilePlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/test/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 413
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL) in /home/test/public_html/lib/pkp/classes/validation/ValidatorUrl.inc.php on line 19
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of MaintenanceForm::display() should be compatible with Form::display($request = NULL, $template = NULL) in /home/test/public_html/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 19
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of InstallForm::execute() should be compatible with Form::execute($object = NULL) in /home/test/public_html/lib/pkp/classes/install/form/InstallForm.inc.php on line 20
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of UpgradeForm::execute() should be compatible with Form::execute($object = NULL) in /home/test/public_html/lib/pkp/classes/install/form/UpgradeForm.inc.php on line 63
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of InstallHandler::validate() should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/test/public_html/lib/pkp/pages/install/InstallHandler.inc.php on line 20
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of RelatedItemsBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/test/public_html/plugins/blocks/relatedItems/RelatedItemsBlockPlugin.inc.php on line 18
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of InformationBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/test/public_html/plugins/blocks/information/InformationBlockPlugin.inc.php on line 54
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of LanguageToggleBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/test/public_html/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 106
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of AbntCitationPlugin::fetchCitation() should be compatible with CitationPlugin::fetchCitation($article, $issue, $journal) in /home/test/public_html/plugins/citationFormats/abnt/AbntCitationPlugin.inc.php on line 226
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of AbntCitationPlugin::manage() should be compatible with Plugin::manage($args, $request) in /home/test/public_html/plugins/citationFormats/abnt/AbntCitationPlugin.inc.php on line 226
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of PubIdImportExportPlugin::display() should be compatible with ImportExportPlugin::display($args, $request) in /home/test/public_html/plugins/importexport/pubIds/PubIdImportExportPlugin.inc.php on line 433
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of PubIdImportExportPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/test/public_html/plugins/importexport/pubIds/PubIdImportExportPlugin.inc.php on line 433
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of PubMedExportPlugin::display() should be compatible with ImportExportPlugin::display($args, $request) in /home/test/public_html/plugins/importexport/pubmed/PubMedExportPlugin.inc.php on line 236
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of OAIMetadataFormat_MARC::toXml() should be compatible with OAIMetadataFormat::toXml($record, $format = NULL) in /home/test/public_html/plugins/oaiMetadataFormats/marc/OAIMetadataFormat_MARC.inc.php on line 46
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of OAIMetadataFormat_NLM::toXml() should be compatible with OAIMetadataFormat::toXml($record, $format = NULL) in /home/test/public_html/plugins/oaiMetadataFormats/nlm/OAIMetadataFormat_NLM.inc.php on line 277
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of OAIMetadataFormat_MARC21::toXml() should be compatible with OAIMetadataFormat::toXml($record, $format = NULL) in /home/test/public_html/plugins/oaiMetadataFormats/marcxml/OAIMetadataFormat_MARC21.inc.php on line 46
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of OAIMetadataFormat_RFC1807::toXml() should be compatible with OAIMetadataFormat::toXml($record, $format = NULL) in /home/test/public_html/plugins/oaiMetadataFormats/rfc1807/OAIMetadataFormat_RFC1807.inc.php on line 107
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of PKPOAIMetadataFormat_DC::toXml() should be compatible with OAIMetadataFormat::toXml($record, $format = NULL) in /home/test/public_html/lib/pkp/plugins/oaiMetadataFormats/dc/PKPOAIMetadataFormat_DC.inc.php on line 80
[06-Dec-2016 00:55:15 America/Denver] PHP Strict Standards: Declaration of PayPalPlugin::displayPaymentSettingsForm() should be compatible with PKPPaymethodPlugin::displayPaymentSettingsForm(&$params, $smarty) in /home/test/public_html/plugins/paymethod/paypal/PayPalPlugin.inc.php on line 18

Any help will be appreciated.

Thanks!

Hi,

I solved this by disabling those strict standard errors from php.ini

There are also similar discussions on the forum, so you can look at those as well.

You can safely suppress the “PHP Strict Standards” warning, but if you are getting a 500 error, there will be another line in the log which references a “PHP Fatal” error. This is the message which corresponds to the 500 error.