• Resolved otacke

    (@otacke)


    After upgrading to version 8.0, the site threw an HTTP 500 error and I needed to deactivate the plugin. I know that a 500 is just a general message and you can’t say what’s happening on the server, but I wanted to let you know that there may be some PHP issue lurking in the dark. I’ll check if I find some time and keep you posted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter otacke

    (@otacke)

    First observations: We were using a custom template in the alternative directory in wp-contents/uploads/teachpress/templates that we made know to teachpress by defining TEACHPRESS_TEMPLATE_PATH and TEACHPRESS_TEMPLATE_URL.

    Defining these constants was done in a separate custom plugin that adds some customizations to our site and worked fine before, but caused the 500 after the upgrade. I’ll further investigate what the root cause might be.

    Thread Starter otacke

    (@otacke)

    And there we have it: The interface for custom templates was changed (as you documented in the release notes). We simply need to update our templates.

    Plugin Author winkm89

    (@winkm89)

    Thank you for the info and the investigation!
    An addition for for those who read it later: If you upgrade to teachPress 8.0 and use a custom template, please note that an additional method called get_image() is required for all templates! The change was unfortunately necessary to outsource the choice between HTML tables and CSS grids to the templates.
    Actually, this is also listed as an upgrade notice in the readme.txt. But somehow WordPress no longer shows that somewhere…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTTP 500 error after upgrading to version 8.0’ is closed to new replies.