This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

WHMCS Module on PHP 7.1 server dead.
#1
[Not Solved] WHMCS Module on PHP 7.1 server dead.
I've been using the WHMCS module on my server for a while now, but now that WHMCS has added support for PHP 7.1, and it is required for the new version. The WHMCS installation is NOT on the same server as the one which the hosting account will be created. They are 2 separate servers, and this worked fine before.

It seems that the module dies upon executing the command to do anything with the sentora server via the module. 2 lines are output in the error log as follows:

Note: I had to add spaced between the # and a number as this forum replaces it with another thread title. I also removed my domain information / folder structure from the logs too.


Quote:[Wed Oct 17 21:48:38.500097 2018] [php7:error] [pid 1041] [client 78.96.65.14:63093] PHP Fatal error:  Cannot use lexical variable $eventName as a parameter name in /XXXXXXXXXX/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Event/Emitter.php on line 48, referer: https://WHMCSDOMAIN.COM/admin/ordersadd.php?userid=10
Quote:[Wed Oct 17 21:48:38.502360 2018] [php7:notice] [pid 1041] [client 78.96.65.14:63093] [WHMCS Application] ERROR: Whoops\\Exception\\ErrorException: Cannot use lexical variable $eventName as a parameter name in /XXXXXXXXXX/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Event/Emitter.php:48 Stack trace: # 0 /XXXXXXXXXX/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\\Utility\\Error\\Run->handleError(64, 'Cannot use lexi...', '/var/sentora/ho...', 48) # 1 [internal function]: WHMCS\\Utility\\Error\\Run->handleShutdown() # 2 {main} {"exception":"[object] (Whoops\\\\Exception\\\\ErrorException(code: 64): Cannot use lexical variable $eventName as a parameter name at //XXXXXXXXXX/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Event/Emitter.php:48)"} [], referer: https://WHMCSDOMAIN.COM/admin/ordersadd.php?userid=10


Dead dead dead.. any ideas?

System
Linux x 2.6.32-042stab127.2 # 1 SMP Thu Jan 4 16:41:44 MSK 2018 x86_64


PHP Version 7.1.23-2+ubuntu14.04.1+deb.sury.org+1

Server API Apache 2.0 Handler

Quote:/etc/php/7.1/apache2/conf.d/10-mysqlnd.ini, /etc/php/7.1/apache2/conf.d/10-opcache.ini, /etc/php/7.1/apache2/conf.d/10-pdo.ini, /etc/php/7.1/apache2/conf.d/15-xml.ini, /etc/php/7.1/apache2/conf.d/20-bcmath.ini, /etc/php/7.1/apache2/conf.d/20-bz2.ini, /etc/php/7.1/apache2/conf.d/20-calendar.ini, /etc/php/7.1/apache2/conf.d/20-ctype.ini, /etc/php/7.1/apache2/conf.d/20-curl.ini, /etc/php/7.1/apache2/conf.d/20-dba.ini, /etc/php/7.1/apache2/conf.d/20-dom.ini, /etc/php/7.1/apache2/conf.d/20-exif.ini, /etc/php/7.1/apache2/conf.d/20-fileinfo.ini, /etc/php/7.1/apache2/conf.d/20-ftp.ini, /etc/php/7.1/apache2/conf.d/20-gd.ini, /etc/php/7.1/apache2/conf.d/20-gettext.ini, /etc/php/7.1/apache2/conf.d/20-iconv.ini, /etc/php/7.1/apache2/conf.d/20-imagick.ini, /etc/php/7.1/apache2/conf.d/20-imap.ini, /etc/php/7.1/apache2/conf.d/20-intl.ini, /etc/php/7.1/apache2/conf.d/20-json.ini, /etc/php/7.1/apache2/conf.d/20-ldap.ini, /etc/php/7.1/apache2/conf.d/20-mbstring.ini, /etc/php/7.1/apache2/conf.d/20-mcrypt.ini, /etc/php/7.1/apache2/conf.d/20-mysqli.ini, /etc/php/7.1/apache2/conf.d/20-pdo_mysql.ini, /etc/php/7.1/apache2/conf.d/20-phar.ini, /etc/php/7.1/apache2/conf.d/20-posix.ini, /etc/php/7.1/apache2/conf.d/20-readline.ini, /etc/php/7.1/apache2/conf.d/20-shmop.ini, /etc/php/7.1/apache2/conf.d/20-simplexml.ini, /etc/php/7.1/apache2/conf.d/20-soap.ini, /etc/php/7.1/apache2/conf.d/20-sockets.ini, /etc/php/7.1/apache2/conf.d/20-sysvmsg.ini, /etc/php/7.1/apache2/conf.d/20-sysvsem.ini, /etc/php/7.1/apache2/conf.d/20-sysvshm.ini, /etc/php/7.1/apache2/conf.d/20-tokenizer.ini, /etc/php/7.1/apache2/conf.d/20-wddx.ini, /etc/php/7.1/apache2/conf.d/20-xmlreader.ini, /etc/php/7.1/apache2/conf.d/20-xmlrpc.ini, /etc/php/7.1/apache2/conf.d/20-xmlwriter.ini, /etc/php/7.1/apache2/conf.d/20-xsl.ini, /etc/php/7.1/apache2/conf.d/20-zip.ini

Zend Engine v3.1.0, Copyright © 1998-2018 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.4, Copyright © 2002-2018, by ionCube Ltd.
    with Zend OPcache v7.1.23-2+ubuntu14.04.1+deb.sury.org+1, Copyright © 1999-2018, by Zend Technologie
Reply
Thanks given by:
#2
[Not Solved] RE: WHMCS Module on PHP 7.1 server dead.
You can't upgrade it that way.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Coldfusion Freelance

10$ free to start your VPS

Reply
Thanks given by:
#3
[Not Solved] RE: WHMCS Module on PHP 7.1 server dead.
(10-19-2018, 05:57 AM)Me.B Wrote: You can't upgrade it that way.

M B

I'm not trying to upgrade anything? I'm trying to provision a user / hosting account via the WHMCS module, this worked before on a server running php 5.6, but WHMCS now requires 7.1... therefore had to upgrade the PHP version on the WHMCS server.

Now the WHMCS "server" module does not work on the WHMCS installation.
Reply
Thanks given by:
#4
[Not Solved] RE: WHMCS Module on PHP 7.1 server dead.
I wish this damn forum was more alive.. honestly, Sentora is starting to suck more and more! GET WITH IT
Reply
Thanks given by:
#5
[Not Solved] RE: WHMCS Module on PHP 7.1 server dead.
(11-13-2018, 08:51 AM)aaronlroberts Wrote: I wish this damn forum was more alive.. honestly, Sentora is starting to suck more and more! GET WITH IT

Wow - that's a great way to ask for help.

I doubt anyone will want to help you out now!

Keith
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
[MODULE][WIP] Sencrypt Let's Encrypt SSL Module TGates 41 16,730 11-24-2018, 10:21 AM
Last Post: TGates
[MODULE] xBilling modpluz 230 266,114 10-17-2018, 10:43 AM
Last Post: republicus
A whmcs Module is necessary v8web 1 535 03-23-2018, 09:45 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)