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.
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…