Tag Info

Hot answers tagged

2

I have no idea why this should solve the issue but I can solve it. Use a different file name. For example: include('my_widgets.php'); I get the error you describe with include('widgets.php'); but not with a different file name. I don't know why. I do know that WordPress has a Core file named widgets.php but I can't work out why there should be a conflict. ...



Only top voted, non community-wiki answers of a minimum length are eligible