An unexpected error has occurred. Please reload the page and try again

error

Hi @franeditor,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

My PHP error log:

PHP Fatal error: Uncaught RuntimeException: Unexpected data in output buffer.
Maybe you have characters before an opening <?php tag? in /var/www/html/ojsteste/lib/pkp/lib/vendor/slim/slim/Slim/App.php:625
Stack trace:
#0 /var/www/html/ojsteste/lib/pkp/lib/vendor/slim/slim/Slim/App.php(335): Slim\App->finalize(Object(APIResponse))
#1 /var/www/html/ojsteste/lib/pkp/classes/core/APIRouter.inc.php(109): Slim\App->run()
#2 /var/www/html/ojsteste/lib/pkp/classes/core/Dispatcher.inc.php(134): APIRouter->route(Object(Request))
#3 /var/www/html/ojsteste/lib/pkp/classes/core/PKPApplication.inc.php(252): Dispatcher->dispatch(Object(Request))
#4 /var/www/html/ojsteste/index.php(68): PKPApplication->execute()
#5 {main}
thrown in /var/www/html/ojsteste/lib/pkp/lib/vendor/slim/slim/Slim/App.php on line 625,
referer: http://…/ojsteste/index.php/revista01/submissions

Hi @monicalp,

Is there a chance you’ve introduced a space to the top of a PHP file by accident, as the error message suggests? If you’ve edited any PHP code, double-check that.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

yes yes yes yes very thanks!!!

Hey all, I’m getting the same error on the submissions page, but a much different log entry.

[Tue Sep 10 15:49:10.004395 2019] [php7:notice] [pid 26007] [client 129.174.55.237:63604] Slim Application Error:\nType: Error\nMessage: Call to a member function getFullName() on null\nFile: /var/www/html/ojs-3.1.2-1/lib/pkp/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php\nLine: 480\nTrace: #0 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php(69): ReviewAssignmentDAO->_fromRow(Array)\n#1 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php(41): ReviewAssignmentDAO->_getReviewAssignmentsArray('SELECT r.*, r2....', Array)\n#2 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/submission/reviewRound/ReviewRound.inc.php(209): ReviewAssignmentDAO->getByReviewRoundId(501)\n#3 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/services/PKPSubmissionService.inc.php(814): ReviewRound->determineStatus()\n#4 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/services/PKPSubmissionService.inc.php(512): PKP\\Services\\PKPSubmissionService->getPropertyStages(Object(Article))\n#5 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/services/PKPSubmissionService.inc.php(607): PKP\\Services\\PKPSubmissionService->getProperties(Object(Article), Array, Array)\n#6 /var/www/html/ojs-3.1.2-1/lib/pkp/api/v1/_submissions/PKPBackendSubmissionsHandler.inc.php(159): PKP\\Services\\PKPSubmissionService->getBackendListProperties(Object(Article), Array)\n#7 [internal function]: PKPBackendSubmissionsHandler->getSubmissions(Object(Slim\\Http\\Request), Object(APIResponse), Array)\n#8 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(APIResponse), Array)\n#9 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/Route.php(356): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(APIResponse), Array)\n#10 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(APIResponse))\n#11 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/Route.php(334): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(APIResponse))\n#12 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/App.php(516): Slim\\Route->run(Object(Slim\\Http\\Request), Object(APIResponse))\n#13 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/security/authorization/internal/ApiAuthorizationMiddleware.inc.php(74): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(APIResponse))\n#14 [internal function]: ApiAuthorizationMiddleware->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Slim\\App))\n#15 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ApiAuthorizationMiddleware), Array)\n#16 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Slim\\App))\n#17 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(APIResponse), Object(Slim\\App))\n#18 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/security/authorization/internal/ApiTokenDecodingMiddleware.inc.php(82): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(APIResponse))\n#19 [internal function]: ApiTokenDecodingMiddleware->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#20 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ApiTokenDecodingMiddleware), Array)\n#21 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#22 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#23 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/handler/APIHandler.inc.php(66): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(APIResponse))\n#24 [internal function]: APIHandler->{closure}(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#25 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)\n#26 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#27 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#28 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/handler/APIHandler.inc.php(88): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(APIResponse))\n#29 [internal function]: APIHandler->{closure}(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#30 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)\n#31 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#32 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#33 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(APIResponse))\n#34 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/App.php(407): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(APIResponse))\n#35 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/App.php(315): Slim\\App->process(Object(Slim\\Http\\Request), Object(APIResponse))\n#36 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/core/APIRouter.inc.php(109): Slim\\App->run()\n#37 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/core/Dispatcher.inc.php(134): APIRouter->route(Object(Request))\n#38 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/core/PKPApplication.inc.php(252): Dispatcher->dispatch(Object(Request))\n#39 /var/www/html/ojs-3.1.2-1/index.php(68): PKPApplication->execute()\n#40 {main}\nView in rendered output by enabling the "displayErrorDetails" setting.\n, referer: https://journals.gmu.edu/index.php/jmgr/submissions
[Tue Sep 10 15:49:10.183065 2019] [php7:notice] [pid 26019] [client 129.174.55.237:63603] Slim Application Error:\nType: Error\nMessage: Call to a member function getFullName() on null\nFile: /var/www/html/ojs-3.1.2-1/lib/pkp/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php\nLine: 480\nTrace: #0 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php(69): ReviewAssignmentDAO->_fromRow(Array)\n#1 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php(217): ReviewAssignmentDAO->_getReviewAssignmentsArray('SELECT r.*, r2....', Array)\n#2 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/services/PKPSubmissionService.inc.php(308): ReviewAssignmentDAO->getBySubmissionId('1980')\n#3 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/services/PKPSubmissionService.inc.php(341): PKP\\Services\\PKPSubmissionService->getReviewAssignments(Object(Article))\n#4 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/services/PKPSubmissionService.inc.php(601): PKP\\Services\\PKPSubmissionService->canUserViewAuthor(Object(User), Object(Article))\n#5 /var/www/html/ojs-3.1.2-1/lib/pkp/api/v1/_submissions/PKPBackendSubmissionsHandler.inc.php(159): PKP\\Services\\PKPSubmissionService->getBackendListProperties(Object(Article), Array)\n#6 [internal function]: PKPBackendSubmissionsHandler->getSubmissions(Object(Slim\\Http\\Request), Object(APIResponse), Array)\n#7 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(APIResponse), Array)\n#8 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/Route.php(356): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(APIResponse), Array)\n#9 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(APIResponse))\n#10 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/Route.php(334): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(APIResponse))\n#11 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/App.php(516): Slim\\Route->run(Object(Slim\\Http\\Request), Object(APIResponse))\n#12 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/security/authorization/internal/ApiAuthorizationMiddleware.inc.php(74): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(APIResponse))\n#13 [internal function]: ApiAuthorizationMiddleware->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Slim\\App))\n#14 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ApiAuthorizationMiddleware), Array)\n#15 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Slim\\App))\n#16 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(APIResponse), Object(Slim\\App))\n#17 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/security/authorization/internal/ApiTokenDecodingMiddleware.inc.php(82): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(APIResponse))\n#18 [internal function]: ApiTokenDecodingMiddleware->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#19 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ApiTokenDecodingMiddleware), Array)\n#20 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#21 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#22 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/handler/APIHandler.inc.php(66): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(APIResponse))\n#23 [internal function]: APIHandler->{closure}(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#24 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)\n#25 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#26 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#27 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/handler/APIHandler.inc.php(88): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(APIResponse))\n#28 [internal function]: APIHandler->{closure}(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#29 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)\n#30 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#31 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(APIResponse), Object(Closure))\n#32 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(APIResponse))\n#33 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/App.php(407): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(APIResponse))\n#34 /var/www/html/ojs-3.1.2-1/lib/pkp/lib/vendor/slim/slim/Slim/App.php(315): Slim\\App->process(Object(Slim\\Http\\Request), Object(APIResponse))\n#35 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/core/APIRouter.inc.php(109): Slim\\App->run()\n#36 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/core/Dispatcher.inc.php(134): APIRouter->route(Object(Request))\n#37 /var/www/html/ojs-3.1.2-1/lib/pkp/classes/core/PKPApplication.inc.php(252): Dispatcher->dispatch(Object(Request))\n#38 /var/www/html/ojs-3.1.2-1/index.php(68): PKPApplication->execute()\n#39 {main}\nView in rendered output by enabling the "displayErrorDetails" setting.\n, referer: https://journals.gmu.edu/index.php/jmgr/submissions

I’ve looked at the relevant files and nothing in that directory has been touched since it was released. What’s more is that this is the only of our ~10 journals that is having this issue. There are no weird plugins or customizations. The only thing the in browser console is a couple of failed API requests:

XHRGEThttps://journals.gmu.edu/index.php/jmgr/api/v1/_submissions?status=1&searchPhrase=&count=20&offset=0&_=1568150202310
[HTTP/1.1 500 Internal Server Error 552ms]

Request URL:https://journals.gmu.edu/index.php/jmgr/api/v1/_submissions?status=1&searchPhrase=&count=20&offset=0&_=1568150202310
Request method:GET
Remote address:129.174.21.6:443
Status code:
500
Version:HTTP/1.1
	
Response headers (471 B)	
Raw headers
Connection	
close
Content-Length	
445
Content-Type	
text/html;charset=UTF-8
Date	
Tue, 10 Sep 2019 21:16:43 GMT
Server	
Apache/2.4.6 (Red Hat Enterpri…penSSL/1.0.2k-fips PHP/7.2.22
Set-Cookie	
OJ3-SID=deleted; expires=Thu, …:00:01 GMT; Max-Age=0; path=/
Set-Cookie	
OJ3-SID=cp8tc0spi8d8m0d4q2fciv…th=/; domain=journals.gmu.edu
X-Powered-By	
PHP/7.2.22
Request headers (773 B)	
Raw headers
Accept	
*/*
Accept-Encoding	
gzip, deflate, br
Accept-Language	
en-US,en;q=0.5
Connection	
keep-alive
Cookie	
CFID=284437; CFTOKEN=464d57a8a…ID=cp8tc0spi8d8m0d4q2fcivv97q
DNT	
1
Host	
journals.gmu.edu
Referer	
https://journals.gmu.edu/index.php/jmgr/submissions
User-Agent	
Mozilla/5.0 (Macintosh; Intel …) Gecko/20100101 Firefox/70.0
X-Requested-With	
XMLHttpRequest

I also tried turning off base URL rewrite in config.inc.php. RESTful URLs and mod_rewrite are already off.

Hi @akierig,

See this thread/post: [solved] OJS upgrade OJS 3.1.2 to OJS 3.1.2.1, submission page HTTP error 500 - #6 by asmecher

Regards,
Alec Smecher
Public Knowledge Project Team

thanks a lot, @asmecher! appreciate your speedy reply.

Hello @asmecher, i have a same problem, with notification: An unexpected error has occurred. Please reload the page and try again.

my error log is a very similar like user @monicalp:

[client 84.47.11.173:33644] PHP Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/lib/vendor/slim/slim/Slim/App.php:622\nStack trace:\n#0 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/lib/vendor/slim/slim/Slim/App.php(318): Slim\App->finalize(Object(APIResponse))
n#1 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/classes/core/APIRouter.inc.php(115): Slim\App->run()
n#2 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/classes/core/Dispatcher.inc.php(143): APIRouter->route(Object(Request))
n#3 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/classes/core/PKPApplication.inc.php(278): Dispatcher->dispatch(Object(Request))
n#4 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/index.php(68): PKPAppl in /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/lib/vendor/slim/slim/Slim/App.php on line 622, referer https://office2.jmbfs.org/index.php/JMBFS/submissions

I tried to remove any space or any characters from index.php but nothing to do. But i do not see any space or strange characters.
Also is problem with doc word file opening, ojs can not read word document and word shows that file is demage, but it is not true, because FTP server contain normal word files. I think that these both problems is related together
Thank you
LUKAs

Hi @Lukas_Hleba,

I would recommend using a standard tool like diff to help hunt down the extra space. It can compare the stock OJS release to your installed copy. You’ll also need to check any additional code you’ve introduced, like plugins.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher,
i will try and i will inform you about my steps.
Lukas

Hello,
i compared all php files from error log as app.php, dispatcher.inc.php, pkpapplication.inc.php and other from this error log, but i do not found any changes, the whole code is a same. I give more information about my situation.
I uploaded ojs from 3.0.2 to the final realease, a few days everything was fine.
I am not instaled any plugins.
But i found strange php code on my ftp server, for example in index.php on the beginning, but it was removed.

here is error logs:
office2.jmbfs.org [Wed May 20 12:47:58.005665 2020] [php7:error] [pid 105984] [client 84.47.11.173:43304] PHP Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/lib/vendor/slim/slim/Slim/App.php:622\nStack trace:
n#0 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/lib/vendor/slim/slim/Slim/App.php(318): Slim\App->finalize(Object(APIResponse))
n#1 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/classes/core/APIRouter.inc.php(115): Slim\App->run()
n#2 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/classes/core/Dispatcher.inc.php(143): APIRouter->route(Object(Request))
n#3 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/classes/core/PKPApplication.inc.php(278): Dispatcher->dispatch(Object(Request))
n#4 /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/index.php(68): PKPAppl in /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/lib/vendor/slim/slim/Slim/App.php on line 622, referer https://office2.jmbfs.org/index.php/JMBFS/submissions

I tried every founded solution, but nothing do
Can you more exact which kind of code i would be compare and repair?
Lukas

Hi @Lukas_Hleba,

You’ll need to run the diff tool recursively, that is to say on the entire installation directory, rather than file by file. See the -r option to the diff tool.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear colleagues,
i solved problem with mentioned error. I downloaded software winMerge and compared all downloaded folders from ftp server. I do not find any free soft which could be compare folder between in my computer and ftp server.
But i found some different folders, php files respectivelly. Main problem was in index.php with empty space, exactly as wrote in error logs where: Maybe you have characters before an opening <?php tag?
it was found in index.php

Can you suggest some free windows diff tools for comparing between folders in computer and ftp server, because i must to download all folders from ftp because WinMerge software can compare only folders in computer, it can not be access to ftp.
Thank you @asmecher

Hi @Lukas_Hleba,

I’m not aware of anything that can both act as a FTP client and comparison tool… My first choice would be to run something directly on the server via a secure shell connection (and most servers will have diff). My second choice would be to use a tool like CPanel’s file manager to download an archive of the entire installation, then unpack it locally and run diff (or winMerge) there.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
thank you very much for your response, i used CPanel.
Errors were solved.
Lukas

Dear colleague,
i found one free software for FTP and PC folder, or FTP to FTP folder, it is name is : Beyond compare, you can comapare folders and files

i have same problem my log error
DELETE /index.php/fjiece/api/v1/_submissions/78 - HTTP/1.1
405 error

An unexpected error has occurred. Please reload the page and try again.

I get the message when trying to fill in Author Guidelines in OJS 3.3.0-7

image
error author guidelines

Hello
When logging into personal account, there comes up “An unexpected error has occurred. Please reload the page and try again” error. There is also the problem of endless loading when trying to create a future release.
Error log is attached

[Mon Jan 10 00:01:06.065436 2022] [php7:warn] [pid 16717] [client 172.16.0.6:56585] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Mon Jan 10 00:01:06.116500 2022] [php7:warn] [pid 16717] [client 172.16.0.6:56585] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Mon Jan 10 00:01:32.267036 2022] [php7:warn] [pid 16718] [client 172.16.0.6:57011] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Mon Jan 10 00:01:32.274208 2022] [php7:warn] [pid 16718] [client 172.16.0.6:57011] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Mon Jan 10 00:02:00.457512 2022] [php7:warn] [pid 16719] [client 172.16.0.6:57433] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Mon Jan 10 00:02:00.464291 2022] [php7:warn] [pid 16719] [client 172.16.0.6:57433] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Mon Jan 10 00:02:22.867288 2022] [php7:warn] [pid 16724] [client 172.16.0.6:58291] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Mon Jan 10 00:02:22.873970 2022] [php7:warn] [pid 16724] [client 172.16.0.6:58291] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Mon Jan 10 00:02:34.190504 2022] [php7:warn] [pid 16728] [client 172.16.0.6:58627] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Mon Jan 10 00:02:34.197269 2022] [php7:warn] [pid 16728] [client 172.16.0.6:58627] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/journal-grsmu.by/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Mon Jan 10 00:02:34.241992 2022] [php7:warn] [pid 16728] [client 172.16.0.6:58627] PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/journal-grsmu.by/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20