• Hi,

    I have installed wordpress on local machine by using easyphp.
    I’ve created a simple theme (only index.php and style.css), where index.php:
    “<!DOCTYPE html>
    <html lang=”en”>

    <head>
    <meta charset=”<?php bloginfo(‘charset’); ?>”>
    <title> <?php bloginfo(‘name’);?> </title>

    </head>
    <body>
    </body>
    </html> ”
    When I try to activate the theme I receive the message: “Active theme is broken”.
    When I’m checking the source page error: “<b>Fatal error</b>: Call to undefined function bloginfo() in <b>C:\EasyPHP-DevServer-14.1VC11\data\localweb\wpproject\wordpress\wp-content\themes\simple\index.php</b> on line <b>5</b><br /> ” can be seen.
    I have no issue on database connection.
    I lost already 5hours by searching through documentation and other forums but I found no asnwer to solve the issue.
    Could You help please?

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Call to undefined function bloginfo()’ is closed to new replies.