Problem after upgrading to OJS 3.2.0-2. Crossref Plugin and another errors

I found a few more different errors:

[cgi:error] [pid 8953] [client 185.132.53.103:58326] script not found or unable to stat: /var/www/cgi-bin

PHP Fatal error: Uncaught Exception: DB Error: ERROR: operator does not exist: text = bigint\nLINHA 31: …N (ppss.setting_name = $7 AND ppss.setting_value = i.issue_…\n ^\nDICA: No operator matches the given name and argument type(s). You might need to add explicit type casts. Query: SELECT a.*, ug.show_title, p.locale,\n\t\t\t\tCOALESCE(agl.setting_value, agpl.setting_value) AS author_given,\n\t\t\t\tCASE WHEN agl.setting_value <> ‘’ THEN afl.setting_value ELSE afpl.setting_value END AS author_family\n\t\t\tFROM\tauthors a\n\t\t\t\tJOIN user_groups ug ON (a.user_group_id = ug.user_group_id)\n\t\t\t\tJOIN publications p ON (p.publication_id = a.publication_id)\n\t\t\t\tJOIN submissions s ON (s.current_publication_id = p.publication_id)\n\t\t\t\tLEFT JOIN author_settings agl ON (a.author_id = agl.author_id AND agl.setting_name = ? AND agl.locale = ?)\n\t\t\t\tLEFT JOIN author_settings agpl ON (a.author_id = agpl.author_id AND agpl.setting_name = ? AND agpl.locale = p.locale)\n\t\t\t\tLEFT JOIN author_settin in /var/www/ojs-3.2.0-2/lib/pkp/classes/db/DAO.inc.php on line 703

PHP Fatal error: Uncaught Error: Call to a member function getData() on null in /var/www/ojs-3.2.0-2/pages/search/SearchHandler.inc.php:215\nStack trace:\n#0 [internal function]: SearchHandler->{closure}(NULL)\n#1 /var/www/ojs-3.2.0-2/pages/search/SearchHandler.inc.php(216): array_map(Object(Closure), Array)\n#2 /var/www/ojs-3.2.0-2/lib/pkp/classes/core/PKPRouter.inc.php(391): SearchHandler->authors(Array, Object(Request))\n#3 /var/www/ojs-3.2.0-2/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)\n#4 /var/www/ojs-3.2.0-2/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPPageRouter->route(Object(Request))\n#5 /var/www/ojs-3.2.0-2/lib/pkp/classes/core/PKPApplication.inc.php(278): Dispatcher->dispatch(Object(Request))\n#6 /var/www/ojs-3.2.0-2/index.php(68): PKPApplication->execute()\n#7 {main}\n thrown in /var/www/ojs-3.2.0-2/pages/search/SearchHandler.inc.php on line 215

PHP Fatal error: Uncaught Exception: DB Error: ERROR: syntax error at or near “AND”\nLINHA 71: AND (LOWER(asf0.setting_value) LIKE LOWER( $8) OR LOWE…\n ^ Query: SELECT a.*, ug.show_title, p.locale,\n\t\t\t\tCOALESCE(agl.setting_value, agpl.setting_value) AS author_given,\n\t\t\t\tCASE WHEN agl.setting_value <> ‘’ THEN afl.setting_value ELSE afpl.setting_value END AS author_family\n\t\t\tFROM\tauthors a\n\t\t\t\tJOIN user_groups ug ON (a.user_group_id = ug.user_group_id)\n\t\t\t\tJOIN publications p ON (p.publication_id = a.publication_id)\n\t\t\t\tJOIN submissions s ON (s.current_publication_id = p.publication_id)\n\t\t\t\tLEFT JOIN author_settings agl ON (a.author_id = agl.author_id AND agl.setting_name = ? AND agl.locale = ?)\n\t\t\t\tLEFT JOIN author_settings agpl ON (a.author_id = agpl.author_id AND agpl.setting_name = ? AND agpl.locale = p.locale)\n\t\t\t\tLEFT JOIN author_settings afl ON (a.author_id = afl.author_id AND afl.setting_name = ? AND afl.locale = ?)\n\t\t\t\tLEFT JOIN author_settings afpl ON (a.author_id = afpl.author_id AND afpl.setti in /var/www/ojs-3.2.0-2/lib/pkp/classes/db/DAO.inc.php on line 703

And there is this that seems to be another problem:

PHP Fatal error: Uncaught Error: Call to a member function getLocalizedFullTitle() on null in /var/www/ojs-3.2.0-2/cache/t_compile/5ab5d9fef2c02a24d6e95c22ce7dbeb486716ddb^504348cc7222e1110a6019067f9a002726c02324_0.plugins-plugins-generic-pdfJsViewer-generic-pdfJsViewer.display.tpl.php:94\nStack trace:\n#0 /var/www/ojs-3.2.0-2/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5e96181fd7ed23_91405111(Object(Smarty_Internal_Template))\n#1 /var/www/ojs-3.2.0-2/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))\n#2 /var/www/ojs-3.2.0-2/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))\n#3 /var/www/ojs-3.2.0-2/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()\n#4 /var/www/ojs-3.2.0-2/cache/t_compile/5ab5 in /var/www/ojs-3.2.0-2/cache/t_compile/5ab5d9fef2c02a24d6e95c22ce7dbeb486716ddb^504348cc7222e1110a6019067f9a002726c02324_0.plugins-plugins-generic-pdfJsViewer-generic-pdfJsViewer.display.tpl.php on line 94, referer: http://periodicos.ufes.br/agora/index