• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

`\XF\Extension::extendClass()` fails to extend repositories which do not end in `Repository` - XF2.3.11 regression

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
Given the repository SV\Threadmarks\Repository\ThreadmarkCategory, and the add-on accesses ThreadmarkCategory::CONSTANT before calling \XF::repository()` any other add-on attempting to extend this class will fail. [ICODE]\XF\Extension::extendClass() will just return the unexpended class.

The cause is extendClass is calling getAliasedClass which is returning unexpected values due to classLikeExists causing the class to be loaded and then aliased...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا