Jump to content

Ashiq

Retired Forum Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Ashiq

  1. Is anyone using the Payoneer payment gateway in the WHMCS?
  2. Hi there, I need urgent help, Please anybody helps me. I explained my issue below: I tried to include the following script in the /module/hooks.php file. <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { $service = Menu::context('service'); $domain = $service->domain; if (!is_null($primarySidebar->getChild('Service Details Actions'))) { $primarySidebar->getChild('Service Details Actions') ->getChild('Login to cPanel') ->setUri('http://'.$domain.'/cpanel'); $primarySidebar->getChild('Service Details Actions') ->getChild('Login to Webmail') ->setUri('http://'.$domain.'/webmail'); } }); After that, I got hooks to file a corruption error. After that, I removed the <?php ?> starting & end tag because I noticed already have the PHP starting & end tag in this file. After that, I got the error that I attached as a screnshot, please check. After that, I removed the scrips that I included. But also, The error showing still.
×
×
  • 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