Forum

Thread tagged as: Question, Error, Blog

Fatal error after saving blog post

My diagnostic report:

Perch: 2.8.4, PHP: 5.4.17, MySQL: mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (2.8.4), assets (2.8.4), categories (2.8.4), perch_blog (4.5.4), perch_forms (1.5) App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/core/apps/categories/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php'); ?> PERCH_LOGINPATH: /perch Image manipulation: GD PHP limits: Max upload 20M, Max POST 20M, Memory: 128M, Total max file upload: 20M Resource folder writeable: Yes REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

After I have upgraded my Perch installation to the latest version, I can no longer save blog posts. On my local environment I’m shown a blank screen, on my production environment I’m shown this fatal error:

Fatal error: Call to a member function return_instance() on a non-object in /home/hidde/webapps/htdocs/perch/core/lib/api/PerchAPI_Form.class.php on line 415

This happens within Perch, when saving a blog post. Saving regular pages works fine.

Hidde de Vries

Hidde de Vries 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Your version of Blog is out of date. It looks like you've updated Perch without updating Blog.

Hi Drew, Thank you, it works fine after updating Blog as well. Maybe it would be useful to have a notification saying “You have X, Y, Z app installed, please also update those” after updating?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that would be nice wouldn't it.