Jump to content

Laminas error in custom server provisioning module


Recommended Posts

We have a custom module that is for plesk that is based off the github (https://github.com/plesk/whmcs-plugin) one that is no longer supported. We use this since have to customize the module so that during service setup it calls our other systems to setup dns and email, which is not hosted in plesk. Since upgrading to WHMCS 8.0.x we are now getting the error in the client area when clicking on the service that uses this module.
Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /var/www/vhtdocs/site/html/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:24
Stack trace:
#0 /var/www/vhtdocs/site/html/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(40): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent()
#1 /var/www/vhtdocs/site/html/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(27): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput()
#2 /var/www/vhtdocs/site/html/clientarea.php(0): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(WHMCS\ClientArea))
#3 {main}


How can we fix it and why is it doing this. The lib folder in our custom module folder is copied from the modules/servers/plesk folder that WHMCS provides.

Edited by heapmaster
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated