From the web under the template of a website, in the local run, this error occurs:
Scream:error suppression ignored for
( ! ) Fatal error:call to undefined function get_header () inch C:\wamp\www\zenith\index.php on line 17
Call Stack
# Time Memory Function location
1 0.0004 386824 {main} (): \index.php:0
Index The 17th Line of PHP is:
Get_header (); Loads the header.php template. ?>
Why is this?
Reply to discussion (solution)
Get_headers ()
or an error:
( ! ) Parse error:syntax error, unexpected ' < ' in C:\wamp\www\zenith\index.php on line 17
But there's no problem with the previous code:
/**
* Index Template
*
* This is the default template. It is used if a more specific template can ' t being found to display
* Posts. It is unlikely, the this template would ever be used, but there could be rare cases.
*
* @package Zenith
* @subpackage Template
* @since 0.1.0
* @author Tung do
* @copyright Copyright (c), Tung do
* @link http://devpress.com/themes/zenith/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
Paste the code for the 17-line attachment
/**
* Index Template
*
* This is the default template. It is used if a more specific template can ' t being found to display
* Posts. It is unlikely, the this template would ever be used, but there could be rare cases.
*
* @package Zenith
* @subpackage Template
* @since 0.1.0
* @author Tung do
* @copyright Copyright (c), Tung do
* @link http://devpress.com/themes/zenith/ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
Get_headers ();//Loads the He ader.php template. ?>
!--? php do_atomic (' before_content ');//Zenith_before_content?-->
!--? php if (have_posts ()):?-->!--? php while (have_posts ()): The_post ();?-->
!-- ? php do_atomic (' before_entry '); Zenith_before_entry?-->
"class="!--? php hybrid_entry_class (),?--">
!--? php do_ Atomic (' Open_entry '); Zenith_open_entry?-->
→', ' Zenith '));?>
'
' . __ (' Pages: ', ' Zenith '), ' after ' = '
'));?>
Line 17th is getheaders.
Get_headers (); Loads the header.php template. ?>
This deletes the comment, or the subsequent?> is commented out, or the?> is placed on the following line.
Know, the online template, how so many low-level mistakes AH
Scream:error suppression ignored for
( ! ) Fatal error:call to undefined function do_atomic () inch C:\wamp\www\zenith\index.php on line 11
Now this is still the error,