Getting the following when I try to export any template group...

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Design::$api

Filename: cp/design.php

Line Number: 3516

Fatal error: Call to a member function instantiate() on a non-object in (mypath)/system/expressionengine/controllers/cp/design.php on line 3516

I have disabled all third-party add-ons, as well as tried a clean install followed by a database import, and the problem persists. Any thoughts?

2 Answers 2


This seems to be a known bug related to disabling custom fields in your channel entries tag pair. Give this solution a try and see if it resolves the problem. It should be fixed up in the next release.

  • That's a different bug to this one. I filed a new bug report on this one since it's verifiable with a fresh install and currently unreported. Here's the bug report Shame you can't read it easily, someone, maybe me didn't close his code tag.
    – neekster
    Apr 25, 2013 at 11:18

A fix has been posted now to the bug 19331. Just a few lines to replace. Just tested it and it's working fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.