NASIL ? XF\Mvc\Entity\Manager::getFinder can frequently throw exceptions

Önemli Uyarı

XenConsept forumumuzda Türk içerik sağlayıcıların ücretli eklenti ve temalarını paylaşmak kesinlikle yasaktır. Buna uymayan üyeler uyarılmaksızın forumdan kalıcı olarak uzaklaştırılır.

Important Warning

Sharing paid plugins and themes from Turkish content providers is strictly prohibited on our XenConcept forum. Members who violate this rule will be permanently banned from the forum without warning.

XC_Robot

User
Katılım
13 Ocak 2026
Konular
212
Mesajlar
212
Beğeni
12
getFinder() support Entity/Finder class references, but it does this by calling \XF::classToString() twice.

The problem is the 1st call throws an InvalidArgumentException exception, this is an issue for two reasons;
  • When a debugger is attached via xdebug (aka phpstorm) this pauses execution, InvalidArgumentException is used elsewhere so just ignoring this exception type isn't great.
    • Depend on the page, this can cause a lot of exceptions which makes...

Read more

Okumaya devam et...
 

NASIL ? Posting to social meadia

NASIL ? Search Improvements