Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 注意:常量WPCF7_AUTOP已在中定义_Php_Wordpress - Fatal编程技术网

Php 注意:常量WPCF7_AUTOP已在中定义

Php 注意:常量WPCF7_AUTOP已在中定义,php,wordpress,Php,Wordpress,托管公司在服务器上进行了更新,然后WordPress开始给出错误消息 错误代码:注意:常量WPCF7_AUTOP已在中定义 /home/geriatry/public_html/wp content/themes/geriatri/functions.php on 第4行 Functions.php: <?php define('GERIATRI_URL',get_template_directory_uri()); define( 'WPCF7_AUTOP', true ); add_

托管公司在服务器上进行了更新,然后WordPress开始给出错误消息

错误代码:注意:常量WPCF7_AUTOP已在中定义 /home/geriatry/public_html/wp content/themes/geriatri/functions.php on 第4行

Functions.php:

<?php

define('GERIATRI_URL',get_template_directory_uri());
define( 'WPCF7_AUTOP', true );
add_filter( 'wpcf7_autop_or_not', '__return_false' );




get_template_part('widgets/wp-bootstrap-navwalker');

get_template_part('inc/Bootstrap');

/** start all classes  */
\Aesthetic\Bootstrap::init();