New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Reseller -> adding package doesn't work (anymore? on 2.0.12 Edge

Started by JM_Stoorvogel, Today at 01:19:34 PM

Previous topic - Next topic

JM_Stoorvogel

When adding a package as a reseller:

Stack trace:
#0 [internal function]: {closure}()
#1 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Route.php(0): call_user_func_array()
#2 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Slim.php(0): Slim\Route->dispatch()
#3 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/Flash.php(0): Slim\Slim->call()
#4 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/MethodOverride.php(0): Slim\Middleware\Flash->call()
#5 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/PrettyExceptions.php(0): Slim\Middleware\MethodOverride->call()
#6 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Slim.php(0): Slim\Middleware\PrettyExceptions->call()
#7 /usr/local/cwpsrv/var/services/user_api/v1/index.php(0): Slim\Slim->run()
#8 {main}
  thrown in /usr/local/cwpsrv/var/services/user_api/v1/app/routes/modules/reseller.php on line 0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /v1/reseller/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "127.0.0.1:2302"
2026/11/17 13:49:37 [error] 1013647#0: *23073 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function license_pro() in /usr/local/cwpsrv/var/services/user_api/v1/app/routes/modules/reseller.php:0

JM_Stoorvogel

The account is nevertheless created when loggin in as root and viewing the packages, but the reseller specific are never shown in the specific reseller overview [login as reseller to view]