getAlby / getAlby/lightning-publisher-wordpress
[Bug] Can't change wallet or enter wallet settings page
- Dominant language
- PHP
- Stars
- 22
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
I cant enter or change my wallet, all i see is a text with "Failed to connect to Wallet: Unknown point format"
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.
This happened after i entered my wallet address: `username@walletofsatoshi.com`
I went to dashboard - LN Publisher - Wallet Setting and i entered my wallet address `username@walletofsatoshi.com` and clicked on save changes. Then that error happened
I disabled the plugin for now.
if i try activating it i get:
The plugin generated 49 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
WordPress version 6.8.1
Current plugin: Bitcoin Lightning Publisher (version 1.4.2)
PHP version 8.1.32
Error Details
=============
An error of type E_ERROR was caused in line 81 of the file /home/myuser/myblog.com/wp-content/plugins/bitcoin-lightning-publisher/includes/clients/abstract-class-bln-publisher-client.php. Error message: Uncaught Error: Call to a member function isConnectionValid() on null in /home/myuser/myblog.com/wp-content/plugins/bitcoin-lightning-publisher/includes/clients/abstract-class-bln-publisher-client.php:81
Stack trace:
`#0 /home/myuser/myblog.com/wp-content/plugins/bitcoin-lightning-publisher/admin/settings/class-connections.php(252): Abstract_BLN_Publisher_Client->isConnectionValid()`
`#1 /home/myuser/myblog.com/wp-includes/class-wp-hook.php(324): LNP_ConnectionPage->get_ln_node_info('')`
`#2 /home/myuser/myblog.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)`
`#3 /home/myuser/myblog.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)`
`#4 /home/myuser/myblog.com/wp-admin/admin-header.php(313): do_action('admin_notices')`
`#5 /home/myuser/myblog.com/wp-admin/admin.php(240): require_once('/home/myuser/...')`
`#6 {main} thrown`
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure by entering the reported wallet address in Dashboard → LN Publisher → Wallet Setting, then inspect includes/clients/abstract-class-bln-publisher-client.php:81 and admin/settings/class-connections.php:252. Done means the wallet settings page can be opened and saved without the isConnectionValid() fatal or plugin activation output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, payments
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100