Forum

Thread tagged as: Problem, Addons, Runway

Call to a member function return_instance() on a non-object

Hi,

I have a Portfolio App that I created based off of your sample_app. I tried to add a new item and I got a fatal error:

Fatal error: Call to a member function return_instance() on a non-object in E:\Vital\Local Projects\vitalworks\trunk\vitalworks_runway\perch\core\lib\api\PerchAPI_Form.class.php on line 408

I just installed your sample app to see if the problem exists there, and indeed, I got the same error when trying to create an item. The problem exists on both Perch and Runway.

Any ideas what could be causing this? I'm guessing a recent update has caused an issue with some of the my_sample code.

I'm running a new installation of Perch Runway.

Jon.

Jon Young

Jon Young 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

That's right - which version of the sample app are you using?

Version 2.0. I just downloaded a fresh version from your site. Is there a newer version?

Drew McLellan

Drew McLellan 2638 points
Perch Support

There is, yes. I'll make sure the link gets updated.

Hey Drew. Just checked the link and it's still version 2.0. Soz for being impatient with this - I'm keen to finish some updates to my website..

Drew McLellan

Drew McLellan 2638 points
Perch Support

I'll let you know as soon as it's there.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Version 2.1 is now available: https://docs.grabaperch.com/api/sample-app/

Thanks a lot Drew.