[RSS Feed/News] Getting an error immediately following the Demo to learn how to make an Add-on

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
This is my cli input
Code:

Code:
# php cmd.php xf-addon:install-step Demo/Portal 1
PHP Fatal error:  Trait 'Demo\Portal\XF\Db\Schema\Alter' not found in C:\xampp\htdocs\community\src\addons\Demo\Portal\Setup.php on line 10

Fatal error: Trait 'Demo\Portal\XF\Db\Schema\Alter' not found in C:\xampp\htdocs\community\src\addons\Demo\Portal\Setup.php on line 10
And my setup.php file,
Code:

Code:
<?php

namespace Demo\Portal;

use XF\AddOn\AbstractSetup;
use XF\AddOn\StepRunnerInstallTrait;
use...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom