امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I'm following the demo:
xenforo.com
When I try to save the code event listener I get this error:
"Callback Demo\Portal\Listener::forumEntityStructure is invalid (error_invalid_class)."
I've already created the Listener.php file in:
"public\forums\src\addons\Demo\Portal"
Heres the contents of Listener.php:
PHP:
Read more
Let's build an add-on - XenForo 2.0 Documentation
When I try to save the code event listener I get this error:
"Callback Demo\Portal\Listener::forumEntityStructure is invalid (error_invalid_class)."
I've already created the Listener.php file in:
"public\forums\src\addons\Demo\Portal"
Heres the contents of Listener.php:
PHP:
کد:
<?php
namespace Demo\Portal;
use XF\Mvc\Entity\Entity;
class Listener
{
public static function...
Read more
