C

Best way to deal with Fatal error: Cannot declare class

  • Thread starter Thread starter CStrategies
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
C

CStrategies

Guest

Occasionally I will make a mistake adding a class extension and end up with the dreaded Fatal error: Cannot declare class

Usually, I can find the mistake in the class file and correct it. But not today.

So, I thought a clever way to deal with this would be to remove the entry from the xf_class_extension table. That did not work, and I'd like to understand why so I can find a better way to deal with this issue in the future.

Continue reading...
 
Similar content Most view View more
Back
Top Bottom