Very simple and quick PHP fix needed
$10-30 USD
Paid on delivery
I installed Wordpress and a new version of the Events Manager Pro plugin on my server. I am trying to change the display of an attendee list which works fine on the old site. On the new site I get the error:
Warning: Invalid argument supplied for foreach() in /home/nbowmen/public_html/nb18/wp-content/themes/nb-child/plugins/events-manager/placeholders/[login to view URL] on line 42
Line 42 in the PHP file says:
foreach ($EM_Booking->booking_meta['attendees'] as $array) {
This seems like an easy fix for someone who knows PHP. Looking to get this fixed asap.
Thanks,
Martin
Project ID: #16577021
About the project
Awarded to:
Hi I am ready to fix your php error and assure 100% satisfaction. Looking forward to fruitfully response. Regards Muhammad Alyas.
28 freelancers are bidding on average $26 for this job
Hi Martin, I am a freelance professional, Let me fix it for you, Look forward to hear from you and work with you...Thanks!
Let me handle this for you. Give me the code maybe i will fix first and then you can pay me on this asap now. let me know from you. Price and Time ------------------------- Once i review the work only i can tel More
***************** I know the solution of this error. Accept my bid now.**************************
Hi Martin, I am expert on PHP. I want to edit your code with 100% accuracy and if you want I can start right now. Eagerly waiting for you. Thank You, Amran
Hi Martin i have read the problem you are having, Kindly come over chat so we can discuss and help you resolving this problem. Regards Josh D.
Hi, I can fix this Wordpress coding issue for you now. Please contact me so wecan discuss more. Regards, Tan.
Is this custom Code? Try following foreach ((array)$EM_Booking->booking_meta['attendees'] as $array) {
hmm, i suspect the attendee list is empty for some reason. It maybe just that the old site has the same issue and warning reporting is disabled and you don't see the warning... Sure it maybe many other issues too More
Hello i have read your request and would like to cooperate for you on the job, please contact me, i will do my best, thank you Very simple and quick PHP fix needed
Hello, Hope you will be doing well!! I have read your description and I understand your requirement and I can handle your project. Please discuss with me for more clarification. Thanks
I have 8 years of experience in developing and managing WordPress sites. I have strong command on PHP site. I assure you that I do my work with 100% quality. My skills include - PHP CMS: Worpress, Drupal, opencart P More
please use temp variable before foreach. or if not it's because of stdClass, i think I am sure that I can fix the issue within few min Thanks,
Dear Employer, I read the job details and absolutely sure that I can do the job very well. Please send me a message to discuss further. I've proven skills in PHP, MYSQL, Wordpress, HTML, CSS, and Jquery with ove More
I've dealt with wordpress and php before. Honestly should be incredibly easy to fix, I will deliver asap.
Hi. I can make your task today. Ready to proceed now. I have extensive experience with php and wordpress.
Hello, we are very skilled in wordpress, php and plugin development, i could solve this problem in few minutes Thanks
Hello martinfuchs, try to use if(is_array($EM_Booking->booking_meta['attendees'])) { foreach ($EM_Booking->booking_meta['attendees'] as $array) { your code More