This function may only be used against URLs in
-
I have a sub domain, and the get_headers(‘header.php’); code is returning the following error:
Warning: get_headers(): This function may only be used against URLs in /home/elepha33/public_html/vehicle/wp-content/themes/EESVehicle/index.php on line 12
I have the header.php file in the EESVehicle folder. What am I doing wrong?
The blog I need help with is: (visible only to logged in users)
-
index.php – partial
<?php # Script 3.4 - index.php /** * @package WordPresslink https://codex.wordpress.org/Template_Hierarchy * * @subpackage EES Vehicle */ get_headers('header.php'); ?> <div id="widgetsContainer"> <div id='jqxWidget' style="font-size: 13px; font-family: Verdana; float: left;"> <!--<div id="jqxgrid"></div> --> </div> </div> <div id="header"> <h1>ESS Vehicle</h1> </div> -
- The topic ‘This function may only be used against URLs in’ is closed to new replies.