a fatal error. from class-draftlistwidget.php on line 79
-
Hey, I am so excited with this idea show draft post title to everyone, and you have realized it.
unfortunately, when I tried to activate it, it shows like the below contents:Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘)’ in /myhost/public_html/wp-content/plugins/simple-draft-list/inc/class-draftlistwidget.php on line 79what I have tried covers:
-
change the site language;
-
turn off all plugins, just active simple draft, but still failed;
-
install it from online (wp-admin/plugin-install.php) and upload it from local.
all failed.
and my website health info as follow.`
myhost`
### wp-core ###version: 5.7.2
site_language: en_US
user_language: en_US
timezone: Asia/Shanghai
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true### wp-paths-sizes ###
wordpress_path: /myhost/public_html
wordpress_size: 55.27 MB (57958908 bytes)
uploads_path: /myhost/public_html/wp-content/uploads
uploads_size: 95.85 MB (100500864 bytes)
themes_path: /myhost/public_html/wp-content/themes
themes_size: 12.48 MB (13088154 bytes)
plugins_path: /myhost/public_html/wp-content/plugins
plugins_size: 131.44 MB (137826766 bytes)
database_size: 31.35 MB (32874840 bytes)
total_size: 326.39 MB (342249532 bytes)### wp-active-theme ###
name: Simple Life (simple-life)
version: 2.4
author: Nilambar Sharma
author_website: https://www.nilambar.net/
parent_theme: none
theme_features: core-block-patterns, automatic-feed-links, title-tag, custom-logo, wp-block-styles, responsive-embeds, customize-selective-refresh-widgets, post-thumbnails, menus, html5, post-formats, editor-style, custom-background, footer-widgets, custom-header, widgets
theme_path: /myhost/public_html/wp-content/themes/simple-life
auto_update: Disabled### wp-themes-inactive (5) ###
WebStack: version: 1.1422, author: iowen, Auto-updates disabled
Hello Elementor: version: 2.3.1, author: Elementor Team, Auto-updates disabled
Twenty Nineteen: version: 2.0, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 1.7, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.3, author: the WordPress team, Auto-updates disabled### wp-plugins-inactive (46) ###
Advanced Database Cleaner PRO: version: 3.1.0, author: Younes JFR., Auto-updates disabled
Advanced noCaptcha & invisible Captcha: version: 6.1.5, author: Shamim Hasan, Auto-updates disabled
Akismet Anti-Spam: version: 4.1.9, author: Automattic, Auto-updates disabled
AntiHacker: version: 3.24, author: Bill Minozzi, Auto-updates disabled
BetterDocs: version: 1.8.1, author: WPDeveloper, Auto-updates disabled
Broken Link Manager: version: 0.6.5, author: Hüseyin Kocak, Auto-updates disabled
Category Editor: version: 3.8.3, author: Kevin Heath, Auto-updates disabled
Classic Editor: version: 1.6, author: WordPress Contributors, Auto-updates disabled
Cloudflare: version: 4.5.1, author: Cloudflare, Inc., Auto-updates disabled
Draft List: version: 2.5.1, author: David Artiss, Auto-updates disabled
Easy Table of Contents: version: 2.0.17, author: Steven A. Zahm, Auto-updates disabled
Easy Updates Manager: version: 9.0.9, author: Easy Updates Manager Team, Auto-updates disabled
Easy WP SMTP: version: 1.4.6, author: wpecommerce, alexanderfoxc, Auto-updates disabled
Elementor: version: 3.2.5, author: Elementor.com, Auto-updates disabled
EmbedPress: version: 3.0.3, author: WPDeveloper, Auto-updates disabled
File Manager Advanced: version: 3.9, author: modalweb, Auto-updates disabled
Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates disabled
Hide/Remove Metadata: version: 1.2.3, author: Catch Plugins, Auto-updates disabled
Insert Headers and Footers: version: 1.6.0, author: WPBeginner, Auto-updates disabled
Loginizer: version: 1.6.6, author: Softaculous, Auto-updates disabled
Page Views Count: version: 2.4.8, author: a3rev Software, Auto-updates disabled
Paywall 付费阅读: version: 3.1.2, author: zhi12.cn, Auto-updates disabled
Plugin Groups: version: 1.2.2, author: David Cramer <[email protected]>, Auto-updates disabled
Plugin Manager: version: 6.0.3, author: Sujin ?? Choi, Auto-updates disabled
PRO Elements: version: 3.2.0, author: PROElements.org, Auto-updates disabled
Query Monitor: version: 3.7.1, author: John Blackbourn, Auto-updates disabled
Redirection: version: 5.1.1, author: John Godley, Auto-updates disabled
Search & Replace: version: 3.2.1, author: Inpsyde GmbH, Auto-updates disabled
Simple Lightbox: version: 2.8.1, author: Archetyped, Auto-updates disabled
Smart SEO Tool-百度搜索SEO优化插件: version: 3.0.2, author: wbolt team, Auto-updates disabled
Spider Analyser: version: 1.2.4, author: wbolt team, Auto-updates disabled
StopBadBots: version: 6.40, author: Bill Minozzi, Auto-updates disabled
The Paste: version: 1.0.7, author: J?rn Lund, Auto-updates disabled
Ultimate Dashboard: version: 3.3.4, author: David Vongries, Auto-updates disabled
Unlimited Elements for Elementor: version: 1.4.74, author: Unlimited Elements, Auto-updates disabled
Useso take over Google: version: 1.8, author: Bruno Xu, Auto-updates disabled
WP API SwaggerUI: version: 1.1.2, author: Agus Suroyo, Auto-updates disabled
WP Fastest Cache: version: 0.9.1.9, author: Emre Vona, Auto-updates disabled
WP Hide & Security Enhancer PRO: version: 2.2.1.7, author: Nsp Code, Auto-updates disabled
WP Htaccess Editor: version: 1.70, author: WebFactory Ltd, Auto-updates disabled
WP Mail SMTP Pro: version: 2.5.0, author: WPForms, Auto-updates disabled
WP Statistics: version: 13.0.8, author: VeronaLabs, Auto-updates disabled
Yet Another Related Posts Plugin (YARPP): version: 5.24.0, author: YARPP, Auto-updates disabled
Your Shortcodes List: version: 1.5.0, author: Sujin ?? Choi, Auto-updates disabled
博客社交分享组件: version: 1.4.1, author: wbolt team, Auto-updates disabled
微信机器人高级版: version: 5.7.5, author: Denis, Auto-updates disabled### wp-media ###
image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 16M
upload_max_filesize: 16M
max_effective_size: 16 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
ghostscript_version: 9.25### wp-server ###
server_architecture: Linux 3.10.0-1062.12.1.el7.x86_64 x86_64
httpd_software: Apache
php_version: 7.2.34 64bit
php_sapi: cgi-fcgi
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 60
upload_max_filesize: 16M
php_post_max_size: 16M
curl_version: 7.77.0 OpenSSL/1.1.1k
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: true### wp-database ###
extension: mysqli
server_version: 5.7.34
client_version: mysqlnd 5.0.12-dev – 20150407 – $Id: 3591daad22de08524295e1bd073aceeff11e6579 $### wp-constants ###
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /myhost/public_html/wp-content
WP_PLUGIN_DIR: /myhost/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_LOCAL_DEV: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable`
- The topic ‘a fatal error. from class-draftlistwidget.php on line 79’ is closed to new replies.