C

Best way to deal with Fatal error: Cannot declare class

  • Thread starter Thread starter CStrategies
  • Start date Start date
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 threads Most view View more
Back
Top Bottom