We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Extending another Class in an Extension

Development and Programming

timothyhellwig's avatar
timothyhellwig
5 posts
12 years ago
timothyhellwig's avatar timothyhellwig

An extension that I wrote is blocking the backend Add-Ons->Extensions page from loading. All I get when I try to visit the Extensions page is a blank white screen without any error messages whatsoever.

After playing around with my extension a bit, I discovered that this has something to do with the fact that my extension extends a class from another add-on.

Here’s the code that I have:

class Store_order_status_ext extends Store_orders_model { ... }

As soon as I change that to this, the Extensions page loads fine again:

class Store_order_status_ext { ... }

The extension itself works perfectly, but I can’t figure out why that “extends Store_orders_model” part is preventing the backend Extensions page from loading. I’m completely stumped. Any ideas? Thanks!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.