Wordpress Critical Error after Activating Plugin #26

Open
opened 2020-05-23 16:54:23 +02:00 by cahlenlee · 1 comment
cahlenlee commented 2020-05-23 16:54:23 +02:00 (Migrated from github.com)

DESCRIPTION:
After installing LBRYPress on my self-hosted Wordpress site (cahlen.org) and activating the plugin, the Wordpress /wp-admin URL shows a critical error. I cannot access the Plugins menu to deactivate LBRYPress, and must do so via SFTP.

This occurs whether or not the LBRY service is running on the server.

REPRO STEPS:

  1. Log into self-hosted Wordpress site
  2. Navigate to 'Plugins > Add New > Upload Plugin'
  3. Upload 'lbrypress-master.zip'
  4. Click 'Activate Plugin'

Results: Wordpress critical error and no access to /wp-admin

Expected: User is returned to Plugins menu

ENVIRONMENT:
WordPress version 5.3.3
Current theme: Lodestar (version 1.0.8)
Current plugin: LBRYPress (version 0.0.1)
PHP version 7.2.24-0ubuntu0.18.04.4

Error Details

An error of type E_ERROR was caused in line 221 of the file /var/www/html/wp-content/plugins/lbrypress-master/classes/LBRY_Daemon.php. Error message: Uncaught Error: Call to undefined function curl_init() in /var/www/html/wp-content/plugins/lbrypress-master/classes/LBRY_Daemon.php:221
Stack trace:
#0 /var/www/html/wp-content/plugins/lbrypress-master/classes/LBRY_Daemon.php(79): LBRY_Daemon->request('account_balance')
#1 /var/www/html/wp-content/plugins/lbrypress-master/classes/LBRY_Admin.php(279): LBRY_Daemon->wallet_balance()
#2 /var/www/html/wp-includes/class-wp-hook.php(288): LBRY_Admin->wallet_balance_warning('')
#3 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#4 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /var/www/html/wp-admin/admin.php(170): do_action('admin_init')
#6 /var/www/html/wp-admin/plugins.php(10): require_once('/var/www/html/w...')
#7 {main}
thrown

LBRYPress_0 1 1_WordpressCriticalError

LBRY ADDRESS:
bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b
mail@cahlen.org

**DESCRIPTION:** After installing LBRYPress on my self-hosted Wordpress site (cahlen.org) and activating the plugin, the Wordpress /wp-admin URL shows a critical error. I cannot access the Plugins menu to deactivate LBRYPress, and must do so via SFTP. This occurs whether or not the LBRY service is running on the server. **REPRO STEPS:** 1) Log into self-hosted Wordpress site 2) Navigate to 'Plugins > Add New > Upload Plugin' 3) Upload 'lbrypress-master.zip' 4) Click 'Activate Plugin' **Results:** Wordpress critical error and no access to /wp-admin **Expected:** User is returned to Plugins menu **ENVIRONMENT**: WordPress version 5.3.3 Current theme: Lodestar (version 1.0.8) Current plugin: LBRYPress (version 0.0.1) PHP version 7.2.24-0ubuntu0.18.04.4 Error Details ============= An error of type E_ERROR was caused in line 221 of the file /var/www/html/wp-content/plugins/lbrypress-master/classes/LBRY_Daemon.php. Error message: Uncaught Error: Call to undefined function curl_init() in /var/www/html/wp-content/plugins/lbrypress-master/classes/LBRY_Daemon.php:221 Stack trace: #0 /var/www/html/wp-content/plugins/lbrypress-master/classes/LBRY_Daemon.php(79): LBRY_Daemon->request('account_balance') #1 /var/www/html/wp-content/plugins/lbrypress-master/classes/LBRY_Admin.php(279): LBRY_Daemon->wallet_balance() #2 /var/www/html/wp-includes/class-wp-hook.php(288): LBRY_Admin->wallet_balance_warning('') #3 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #4 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /var/www/html/wp-admin/admin.php(170): do_action('admin_init') #6 /var/www/html/wp-admin/plugins.php(10): require_once('/var/www/html/w...') #7 {main} thrown ![LBRYPress_0 1 1_WordpressCriticalError](https://user-images.githubusercontent.com/30788194/82733652-806e5100-9cd2-11ea-8106-72df5c569718.png) **LBRY ADDRESS:** bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b mail@cahlen.org
cahlenlee commented 2020-05-24 00:36:20 +02:00 (Migrated from github.com)

This does not occur on another self-hosted Wordpress server I have (moderndaywizards.org). It's using the same theme as the other site, so it's not that. Here are the versions the server that works is using:

Wordpress 5.4.1
PHP 7.2.24
Ubuntu 18.04.4

This does not occur on another self-hosted Wordpress server I have (moderndaywizards.org). It's using the same theme as the other site, so it's not that. Here are the versions the server that works is using: Wordpress 5.4.1 PHP 7.2.24 Ubuntu 18.04.4
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrypress#26
No description provided.