Need Help with Schedule for Publication Issue - Seeking Advice!

I have fulfilled all publication requirements for an article, but I am experiencing difficulty in scheduling the publication. I received an error message from the system stating, ‘An unexpected error has occurred. Please reload the page and try again.’

I also found an error message in the error_log file from cPanel as follows:


[23-Apr-2024 02:55:54 UTC] Slim Application Error:
Type: AssertionError
Code: 1
Message: assert(false)
File: /public_html/classes/submission/Submission.php
Line: 109
Trace: #0 /public_html/classes/submission/Submission.php(109): assert(false, 'assert(false)')
#1 /public_html/lib/pkp/classes/publication/Repository.php(451): APP\submission\Submission->_getContextLicenseFieldValue(NULL, 3, Object(APP\publication\Publication))
#2 /public_html/lib/pkp/api/v1/submissions/PKPSubmissionHandler.php(1185): PKP\publication\Repository->publish(Object(APP\publication\Publication))
#3 [internal function]: PKP\API\v1\submissions\PKPSubmissionHandler->publishPublication(Object(Slim\Http\Request), Object(PKP\core\APIResponse), Array)
#4 /public_html/lib/pkp/lib/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func(Array, Object(Slim\Http\Request), Object(PKP\core\APIResponse), Array)
#5 /public_html/lib/pkp/lib/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(PKP\core\APIResponse), Array)
#6 /public_html/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(PKP\core\APIResponse))
#7 /public_html/lib/pkp/lib/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(PKP\core\APIResponse))
#8 /public_html/lib/pkp/lib/vendor/slim/slim/Slim/App.php(503): Slim\Route->run(Object(Slim\Http\Request), Object(PKP\core\APIResponse))

Hi @bramanto,

Could you please indicate your specific version number (e.g. 3.4.0-5)? In the future, please include this in your posts here on the forum as it is really important for troubleshooting.

-Roger
PKP Team

Hi @rcgillis,

Apologies for the oversight of the important information. My OJS Version 3.4.0.5 and PHP Version 8.2

Thank You,
Bram