GithubHelp home page GithubHelp logo

Comments (4)

asmecher avatar asmecher commented on June 30, 2024

@frafra, does your email_templates table have an alternate_to column?

from pkp-lib.

frafra avatar frafra commented on June 30, 2024

No, there is not. The whole setup seems messed up. I can't even login.

Warning:  Undefined array key "required" in /var/www/html/lib/pkp/classes/submission/GenreDAO.php on line 250

Fatal error:  Uncaught TypeError: PKP\submission\Genre::setRequired(): Argument #1 ($required) must be of type bool, null given, called in /var/www/html/lib/pkp/classes/submission/GenreDAO.php on line 250 and defined in /var/www/html/lib/pkp/classes/submission/Genre.php:213
Stack trace:
#0 /var/www/html/lib/pkp/classes/submission/GenreDAO.php(250): PKP\submission\Genre->setRequired()
#1 /var/www/html/lib/pkp/classes/db/DAOResultFactory.php(133): PKP\submission\GenreDAO->_fromRow()
#2 /var/www/html/lib/pkp/classes/db/DAOResultFactory.php(232): PKP\db\DAOResultFactory->next()
#3 /var/www/html/lib/pkp/pages/dashboard/DashboardHandler.php(118): PKP\db\DAOResultFactory->toArray()
#4 [internal function]: PKP\pages\dashboard\DashboardHandler->index()
#5 /var/www/html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#6 /var/www/html/lib/pkp/classes/core/PKPPageRouter.php(277): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#7 /var/www/html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route()
#8 /var/www/html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch()
#9 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()
#10 {main}
  thrown in /var/www/html/lib/pkp/classes/submission/Genre.php on line 213

I just upgraded from pkpofficial/ojs:3_3_0-11 to pkpofficial/ojs:stable-3_4_0 and added these lines to the configuration files to avoid errors:

; Mailer driver (needed from 3.4 onwards)
default = sendmail
sendmail_path = "/usr/sbin/sendmail -bs"

I wonder if there is a bug that leaves the migration halfway if there is a configuration error at startup. Furthermore, I also wonder where are the release notes for 3.4 that documents breaking changes and a proper update path, if they exist.

from pkp-lib.

asmecher avatar asmecher commented on June 30, 2024

@frafra, did you run the upgrade script? See https://docs.pkp.sfu.ca/dev/upgrade-guide/en/#9-run-the-upgrade for details.

from pkp-lib.

frafra avatar frafra commented on June 30, 2024

No, I did not, I was not aware of it. I assumed eventual upgrades would run when the container starts. Thank you.

from pkp-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.