Error when Adding Wordpress to Smarty Engine
I keep getting this error when I try to add wp-blog-header into my smarty template does anyone know how to fix this?
Here is the code im using.
<?php
define('WP_USE_THEMES', false);
require('/home/gorilla/public_html/wp-blog-header.php');
?>
<?php get_header(); ?>
And here is the error.
Fatal error: Cannot redeclare wptexturize() (previousl开发者_Go百科y declared in /home/gorilla/public_html/community/common/formatting.php:2) in /home/gorilla/public_html/wp-includes/formatting.php on line 99
Did you write your own wptexturize function om common/formatting.php? That this could be the issue.
精彩评论