Cerrado

Fix php errors in whmcs hook

Hi,

I have a script that automatically installs a website when a cpanel account is created in whmcs.

It was working in PHP 5, but stopped working after upgrading to PHP 7.

The following errors are written to the log file:

PHP Warning [2] ftp_put() expects parameter 1 to be resource, null given on line 677 in file /home/avant/public_html/clients/includes/hooks/kits/[login to view URL]

- Error uploading files via FTP! - ID: '$ftp_handle' - Destination: public_html/[login to view URL] - Source: [login to view URL] - Mode: 2

PHP Warning [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead on line 1559 in file /home/avant/public_html/clients/includes/hooks/kits/[login to view URL]

PHP Warning [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead on line 1560 in file /home/avant/public_html/clients/includes/hooks/kits/[login to view URL]

I need to get this working again please.

I have uploaded a copy of the file that is giving the errors.

Regards,

Luke

Habilidades: HTML, MySQL, PHP, Arquitectura de software, WHMCS

Ver más: Hi, I\ ve just joined this site to begin new life as a freelancer. I am an qualified PHP/MySQL/JS developer of 8 years of experi, php id 1, http www mof gov bd en index php option comcontent&view article&id 225&itemid 1, php, whmcs, fix php errors freelancer, script fix php errors, fix php errors mediafire, need someone fix php script, common php errors fix, fix php errors online, online test fix programming errors php, fix php script problems internet explorer, software fix php parse errors, program find fix php errors, fix php coding errors cross site scripting, fix php errors, fix php script errors wordpress, fix php script, fix images errors

Información del empleador:
( 7 comentarios ) Billinudgel, Australia

Nº del proyecto: #17370423

22 freelancers están ofertando el promedio de $27 para este trabajo

devikagupta

hello sir, i can do your project.... please accept my bid so that i can start it... i m expert in this type of project... u can also see my portfolio... please sir accept my bid.. please hope u will do i m waiting f Más

$25 AUD en 0 días
(516 comentarios)
7.1
mahander2012

Hello Sir/Madam, I have 7 years of experience in WHMCS development, let me know if you want to use my services. Regards, Mahander Relevant Skills and Experience whmcs, php Proposed Milestones $30 AUD - Development Más

$30 AUD en 1 día
(131 comentarios)
6.9
$30 AUD en 1 día
(254 comentarios)
6.6
$25 AUD en 1 día
(187 comentarios)
6.7
shayona163

hello sir i am expert in HTML, MySQL, PHP, Software Architecture, WHMCS i am able to do this work you will satisfy with my work i can do this work asap thank you Relevant Skills and Experience hello sir i am expert i Más

$30 AUD en 0 días
(123 comentarios)
6.3
meenusofat

I'm expert whmcs programmer.I have read your job description and confident about fix the error. I am ready to start work straight away and provide you error code as well Stay tuned, I'm still working on this proposa Más

$25 AUD en 1 día
(23 comentarios)
4.9
$23 AUD en 1 día
(29 comentarios)
5.0
$15 AUD en 0 días
(30 comentarios)
5.5
royalrandhawa

Fixing Of Script to make it able to run in php 7.x with all older functionality Relevant Skills and Experience Core php, sql, apache, nginx, centos, linux Proposed Milestones $30 AUD - Milestone

$30 AUD en 1 día
(24 comentarios)
4.4
developersperhr

I am expert in PHP, CI and Laravel.I have created ecommerce and job portal website in these [login to view URL] check previous work [login to view URL] Relevant Skills and Experience [login to view URL] https: Más

$35 AUD en 1 día
(17 comentarios)
4.3
rrgamit

I am having experience from past 4+ years & completed 120+ projects in PHP development. I can easily achieve the results that you are asking for. Looking forward to your end. Thanks Relevant Skills and Experience Rel Más

$25 AUD en 1 día
(39 comentarios)
4.2
anuragr1983

Some functions have been depreciated in PHP 7. I will replace them with new function introduced in newer version. Relevant Skills and Experience I have more than 10 years experience in PHP including 5 years experience Más

$30 AUD en 1 día
(9 comentarios)
4.1
nishantjain21

PHP Relevant Skills and Experience I am having a group of people that are expert in PHP,Wordpress,HTML5,[login to view URL] can do your task elegantly and efficiently within the time period. Proposed Milestones $35 AUD - Develop Más

$35 AUD en 1 día
(10 comentarios)
4.2
QasirAbbas

Hey sir i can do this work as i am a custom PHP plus WordPress expert having an experience of 3 years. I can help you achieve this task as i have done similar tasks before and can do this work Relevant Skills and Expe Más

$20 AUD en 0 días
(13 comentarios)
3.7
allin1seo

Hi there, as its a WHMCS and you have upgraded to php 7 your modules stoped working because of ioncubeloader. I can get this fixed Relevant Skills and Experience i am a WHMCS expert in modules and PHP Proposed Milest Más

$25 AUD en 1 día
(14 comentarios)
3.4
$25 AUD en 1 día
(1 comentario)
1.4
chotuactive

WHMCS is not working due to PHP version upgrade. Need to check and solve the issue so Cpanel account creation automation will work Relevant Skills and Experience WHMCS WHM/CPANEL Proposed Milestones $40 AUD - Solvi Más

$40 AUD en 1 día
(2 comentarios)
1.0
MMAtechnology

We are expert in PHP , and we can solve the issue Relevant Skills and Experience our core business is to add value to the customer Proposed Milestones $35 AUD - handover

$35 AUD en 1 día
(1 comentario)
0.0
$25 AUD en 1 día
(0 comentarios)
0.0
$25 AUD en 1 día
(0 comentarios)
0.0