0

I was working on event manager plugin and I made some changes which resulted to below error !

Warning: strstr(): Empty needle in /home1/....../public_html/wp-content/plugins/events-manager/em-posts.php on line 257

Warning: Cannot modify header information - headers already sent by (output started at /home1/....../wp-content/plugins/events-manager/em-posts.php:257) in /home1/...../public_html/wp-includes/pluggable.php on line 1178

My website is not working and display above error. Also, I am failed to login to wordpress platform that is showing above error.

Community
  • 1
  • 1
  • Have you used `header('Location:')` in your changes ? – Rohil_PHPBeginner Apr 24 '15 at 06:58
  • @Rohil_PHPBeginner I was adding some changes in Event manager plugin in wordpress. I was doing changes in category url and something wrong happend. Will you please help me out how to resolve this. My site can't display anything. same errors showing. – anju yadav Apr 24 '15 at 07:34
  • You need to put the changes here then and then anyone can help you out. My guess is that you have put `header('location:someURLhere');` and it is causing the issue because you can not use `header` after output begins to start. – Rohil_PHPBeginner Apr 24 '15 at 07:37
  • @Rohil_PHPBeginner I was doing some changes in Event manager plugin to change the customize location and event url like ...abcd.com/event/.... & abcd.com/location to some other but by mistakenly i removed Event & location from url and enter. From then this issue coming. – anju yadav Apr 24 '15 at 07:50
  • can you please put your changed code here ? – Rohil_PHPBeginner Apr 24 '15 at 07:51
  • @Rohil_PHPBeginner thanks ! Issue has been resolved. – anju yadav Apr 24 '15 at 08:13
  • Glad you managed it ! – Rohil_PHPBeginner Apr 24 '15 at 08:14

0 Answers0