Find Jobs
Hire Freelancers

Fix a PHP script

$10-20 USD

Færdiggjort
Slået op næsten 4 år siden

$10-20 USD

Betales ved levering
I have a PHP loop that sends an email to a list of subscribers. The script actually works fine (it sends the emails, all is good). However, I get the PHP Warnings seen at the bottom of this message. I'm hoping someone can resolve the issue by telling me what code to change. Please post your bid for instructions. Thanks! =============================== THE PART OF SCRIPT CAUSING ISSUES: =============================== for($x=1;$x<=$i;$x++) { if($x>1 AND (${'email' . $x}<>$lastloopemail)) { // This is line 135 ${'mail' . $x-1} = new PHPMailer; ${'mail' . $x-1}->setFrom($fromemailask, '[login to view URL]'); ${'mail' . $x-1}->DKIM_domain = '[login to view URL]'; ${'mail' . $x-1}->DKIM_private = '/var/[login to view URL]'; ${'mail' . $x-1}->DKIM_selector = '[login to view URL]'; ${'mail' . $x-1}->DKIM_passphrase = ''; ${'mail' . $x-1}->DKIM_identity = ${'mail' . $x-1}->From; ${'mail' . $x-1}->addAddress($lastloopemail); ${'mail' . $x-1}->addBCC($toemailadmin); ${'mail' . $x-1}->isHTML(true); ${'mail' . $x-1}->Subject = $subject; ${'mail' . $x-1}->Body = $message; ${'mail' . $x-1}->XMailer = ' '; // Removes the php X-Mailer header if(!${'mail' . $x-1}->send()) { // This is line 149 echo 'Mailer Error: ' . ${'mail' . $x}->ErrorInfo; } else { echo 'Message has been sent'; }} ============================= THE ERRORS I GET ON EVERY LOOP: ============================= PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 136 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 137 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 138 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 139 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 140 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 141 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 142 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 142 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 143 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 144 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 145 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 146 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 147 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 148 PHP Warning: A non-numeric value encountered in /var/www/[login to view URL] on line 149
Projekt-ID: 25383710

Om projektet

18 forslag
Projekt på afstand
Aktiv 4 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
$0 USD på 7 dage
5,0 (12 anmeldelser)
4,2
4,2
18 freelancere byder i gennemsnit $15 USD på dette job
Brug Avatar.
Hello Hope you are good. i'm sure i can fix warnings right now. i can start work right now. Thanks
$15 USD på 1 dag
5,0 (148 anmeldelser)
6,7
6,7
Brug Avatar.
Hi, I am a PHP developer. I can fix the PHP warning issues in your script
$20 USD på 0 dag
4,8 (138 anmeldelser)
6,1
6,1
Brug Avatar.
Dear sir, I'm interested in your project i can finish it easily with high quality with least price. I have done many projects like that before which can satisfy your impression and achieve what you want. I have big experience in these fields for many years with more than 61 project done. I will not get paid until you be fully satisfied because i like working with people again.
$15 USD på 1 dag
5,0 (54 anmeldelser)
5,4
5,4
Brug Avatar.
Hey. I am an experienced Web Developer and have worked with wide variety of skills like PHP, MySQl, jQuery / Prototype, Javascript, HTML, CSS and more for many years.
$11 USD på 1 dag
4,9 (86 anmeldelser)
5,6
5,6
Brug Avatar.
Hello. I can fix this script for you, have many years of experience with PHP. I'm an experienced professional with advanced skills and knowledge. Lets discuss more via chat. Looking forward to your response. Thanks. Regards, Badar Nadeem.
$20 USD på 1 dag
5,0 (18 anmeldelser)
5,2
5,2
Brug Avatar.
the issue is that a non type problem expecting a string "" but got given it a number 8789 Hi there, With more than 5 years experience with PHP, i'm interested in your project i wrote this proposal to propose to you my services as web developer experienced freelancer. Looking forward to hear from you, i also looking for a ongoing relation to work with i got several certificate with PHP, CSS and JavaScript to prove my skills you may even test mine and proceed further please leave me a message so we can discuss more thanks for attention , PLEASE NOTE : Budget was never ever a an issue to me but your satisfaction is.
$15 USD på 7 dage
4,9 (10 anmeldelser)
2,8
2,8
Brug Avatar.
Hello, I'm an expert in Backend Development and I can fulfill your project requirements. I can help you fix the PHP problem. Feel free to hire me!
$10 USD på 1 dag
5,0 (9 anmeldelser)
2,6
2,6
Brug Avatar.
Hi. Glad to see you. It's a very simple one for me which you describe it. I can do it immediately. HOPE you give us a chance to start our first business relation, please... I am looking for long term relationship. waiting for your valuable reply... Thanks & Regards
$20 USD på 1 dag
5,0 (3 anmeldelser)
2,2
2,2
Brug Avatar.
Hello, I'm software & web developer from Bosnia and Herzegovina with 4+ years of experience in developing websites and web applications. My main skill is developing responsive designed front-end using web technologies (HTML, CSS, JavaScrpit, jQuery, Ajax, ...), JavaScript frameworks and Bootstrap components library. Other then that, I also do fast, stable, restful and secured back-end using Java with Spring Boot, or PHP. Can you send me message in chat for more details, and I'll finish it promptly for responsive price. Best Regards, Omer K.
$15 USD på 1 dag
5,0 (1 bedømmelse)
2,3
2,3
Brug Avatar.
hi how are you i m pro developer , i can fix your warning issue in no time , It seems that in PHP 7.1 Warning , just send me the login detail i will fix it for you
$20 USD på 1 dag
5,0 (2 anmeldelser)
1,9
1,9
Brug Avatar.
hello sir i have read the project details and i think am able to fix it it will not take more than few seconds to fix it i guess i hope that will be my first project to pass here in freelancer :D hope u give me this chance thx in advance
$15 USD på 1 dag
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
Hello, First of all, receive my greetings. Your problem is with this syntax ${'mail' . $x-1} Because of the operation $x-1. Use something like this instead. $prevX = $x-1; ${'mail' . $prevX}->..... If you need more help
$10 USD på 1 dag
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
Hi, The solution is simple and I can help you with it. I have excellent programming skills in PHP, JavaScript/jQuery, MySQL and WordPress development. Please let me know if you need more information. Thank you
$10 USD på 1 dag
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
hello sir! Hopefully you are good. I can come up to a solution and make this application to work without any warning. I have had a 2 year experience in php custom and using framework app development. Though I hadn't have any client yet but now is the time to grab a one. Money isn't any issue but getting client to my profile is the priority. So looking forward for your response.
$10 USD på 1 dag
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for UNITED STATES
South Lake Tahoe, United States
5,0
234
Betalingsmetode verificeret
Medlem siden jul. 22, 2002

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.