adding www to domain throws warning
-
Hi,
I am having trouble with www version i.e. https://www.mydomain.com of my site for past one week. It used to work fine till last week. Both https://mydomain.com and https://www.mydomain.com worked.
All of a sudden last week, the www version is resolved but it throws open a download window offering to download file named download.gz. When I download the file and open it, I see the following warning in the text file I downloaded –<br /> <b>Warning</b>: call_user_func_array() expects parameter 1 to be a valid callback, function 'return false;' not found or invalid function name in <b>/home/pytiwari/public_html/rbtvidyalaya.edu.in/wp-includes/plugin.php</b> on line <b>235</b><br />
However, if I simply try https://mydomain.com, everything works fine. I am not sure why adding www which is nothing but redirected to mydomain.com gives problem when actually if I directly try mydomain.com, I see no warning.
Just to inform, I have added www as CNAME in cpanel of my shared hosting and not doing it by htaccess.
Any suggestions would be greatly appreciated.
- The topic ‘adding www to domain throws warning’ is closed to new replies.