Find Jobs
Hire Freelancers

Fix a PHP script

$10-20 USD

Terminado
Publicado hace alrededor de 4 años

$10-20 USD

Pagado a la entrega
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
ID del proyecto: 25383710

Información sobre el proyecto

18 propuestas
Proyecto remoto
Activo hace 4 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
$0 USD en 7 días
5,0 (12 comentarios)
4,2
4,2
18 freelancers están ofertando un promedio de $15 USD por este trabajo
Avatar del usuario
Hello Hope you are good. i'm sure i can fix warnings right now. i can start work right now. Thanks
$15 USD en 1 día
5,0 (148 comentarios)
6,7
6,7
Avatar del usuario
Hi, I am a PHP developer. I can fix the PHP warning issues in your script
$20 USD en 0 día
4,8 (138 comentarios)
6,1
6,1
Avatar del usuario
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 en 1 día
5,0 (54 comentarios)
5,4
5,4
Avatar del usuario
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 en 1 día
4,9 (86 comentarios)
5,6
5,6
Avatar del usuario
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 en 1 día
5,0 (18 comentarios)
5,2
5,2
Avatar del usuario
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 en 7 días
4,9 (10 comentarios)
2,8
2,8
Avatar del usuario
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 en 1 día
5,0 (9 comentarios)
2,6
2,6
Avatar del usuario
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 en 1 día
5,0 (3 comentarios)
2,2
2,2
Avatar del usuario
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 en 1 día
5,0 (1 comentario)
2,3
2,3
Avatar del usuario
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 en 1 día
5,0 (2 comentarios)
1,9
1,9
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
South Lake Tahoe, United States
5,0
234
Forma de pago verificada
Miembro desde jul 22, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.