Ramco Ramco

Ramco Ramco

  • 418
  • 3.4k
  • 543.9k

Uncaught Error: Call to undefined function get_header()

Apr 27 2024 7:02 AM

Hi

  I have downloaded from following link -> wordpress.org/themes/industrial-manufacturing/

i am getting error when running locally - localhost:8080/industrial/index.php

Fatal error: Uncaught Error: Call to undefined function get_header() in D:\xampp\htdocs\industrial\index.php:6 Stack trace: #0 {main} thrown in D:\xampp\htdocs\industrial\index.php on line 6

<?php
/**
 * The template for displaying home page.
 * @package Industrial Manufacturing
 */
get_header(); ?>

Thanks


Answers (1)