XF 2.1 Error while creating add-on

iCode

Member
HI!
I follow development tutorials on:

then i got this error [E_WARNING] Error while sending STMT_PREPARE packet. PID=3081

Code:
php cmd.php xf-addon:create
Enter an ID for this add-on: iCode/SFS

Enter a title: iCode - SFS

Enter a version ID. This integer will be used for internal version comparisons. Each release of your add-on should increase this number:  1000010

Version string set to: 1.0.0 Alpha

Does this add-on supersede a XenForo 1 add-on? (y/n) n

In Statement.php line 35:
                                                                 
  [E_WARNING] Error while sending STMT_PREPARE packet. PID=29206
                                                                 

xf-addon:create
 
That would appear to be a MySQL issue, so this might indicate a broken MySQL config in your CLI PHP. Alternatively, you could try adjusting exactly how you connect to MySQL via your src/config.php file. You may wish to try 127.0.0.1 instead of localhost.
 
Back
Top Bottom