class extension

  1. CStrategies

    XF 2.2 Best way to deal with Fatal error: Cannot declare class

    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...
  2. Dr.XGB

    XF 2.3 Unable to extend Repository classes

    Hello! I'm migrating my addons to XF 2.3 and I ran into a problem when exntending some Repository classes. The new version now uses a better naming convention to its classes (and that's great) such as \XF\Repository\Thread now is \XF\Repository\ThreadRepository, for example. After setting my...
Back
Top Bottom