Adams icon indicating copy to clipboard operation
Adams copied to clipboard

新装环境报错,环境如下

Open Annunx opened this issue 2 years ago • 2 comments

错误

Warning: Attempt to read property "before" on array in E:\xxx\Project\WordPress\wp-content\themes\Adams-1.4.26\inc\core.de.php on line 35

Warning: Attempt to read property "link_before" on array in E:\xxx\Project\WordPress\wp-content\themes\Adams-1.4.26\inc\core.de.php on line 37

Warning: Attempt to read property "link_after" on array in E:\xxx\Project\WordPress\wp-content\themes\Adams-1.4.26\inc\core.de.php on line 38

Warning: Attempt to read property "after" on array in E:\xxx\Project\WordPress\wp-content\themes\Adams-1.4.26\inc\core.de.php on line 40

运行环境

system: windows 10 PHP : 8.1.2 mysql: 8.0

Annunx avatar Oct 19 '22 06:10 Annunx

暂时处理方式

Adams-1.4.26\inc\core.de.php文件35行后暂时这么处理


       $item_output = !empty($args->before) ? $args->before : '' ;
        $item_output .= '<a' . $attributes . '>';
        $item_output .= !empty($args->link_before)  ? $args->link_before . apply_filters('the_title', $item->title, $item->ID) : '';
        $item_output .= $description .(!empty($args->link_after)  ?  $args->link_after : '');
        $item_output .= '</a>';
        $item_output .= !empty($args->after)  ? $args->after : '';

Annunx avatar Oct 19 '22 07:10 Annunx

感谢。

hehua04 avatar Jan 09 '24 11:01 hehua04