Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

Plugins failing after server migration!

0 votes

Hello guys, I'm getting anoying plugin errors all over the place, how can I fix them?

Notice: Undefined index: admin$ in /home/movielan/public_html/how2games/qa-include/qa-app-format.php(1264) : eval()'d code on line 72

Notice: Undefined index: email in/home/movielan/public_html/how2games/qa-plugin/NoahY-q2a-share-7e40224/qa-share-widget.php on line 4
Notice: Undefined index: admin$ in /home/movielan/public_html/how2games/qa-include/qa-app-format.php(1264) : eval()'d code on line 72

 

asked Jan 21 in Q2A Core by Gabriel Meono

1 Answer

+1 vote
 
Best answer
  1. they're not errors, they are notices
  2. showing notices is a security risk on your site, not just an annoyance
  3. you should turn off error display in your php.ini file for production sites
  4. I'll try to add suppression for these notices.
answered Jan 22 by NoahY
selected Feb 17 by Gabriel Meono
I was able to reach the host support, they edited the php.ini and the Notices are gone.
I think another way is to put a php.ini file in your public_html directory.  I think on most sites that will be picked up and override the main file.

But of course, host support is always the most reliable :)