Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update failed with incorrect files #4

Open
gamebits opened this issue Nov 26, 2023 · 1 comment
Open

Update failed with incorrect files #4

gamebits opened this issue Nov 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gamebits
Copy link

On 26 Nov 2023, an attempted update to Newspack Plugin v2.11.1 (released 20 Nov 2023) failed, with the version installed on my site being replaced with the contents of the Newspack Plugin repo instead of the built release. The ensuing fatal error brought the site down.

Here is the debug.log:

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload.php' (include_path='.:') in /home/dh_k455ht/a2central.com/wp-content/plugins/newspack-plugin/newspack.php:27 Stack trace: #0 /home/dh_k455ht/a2central.com/wp-settings.php(473): include_once() #1 /home/dh_k455ht/a2central.com/wp-config.php(107): require_once('/home/dh_k455ht...') #2 /home/dh_k455ht/a2central.com/wp-load.php(50): require_once('/home/dh_k455ht...') #3 /home/dh_k455ht/a2central.com/wp-admin/admin.php(34): require_once('/home/dh_k455ht...') #4 /home/dh_k455ht/a2central.com/wp-admin/index.php(10): require_once('/home/dh_k455ht...') #5 {main} thrown in /home/dh_k455ht/a2central.com/wp-content/plugins/newspack-plugin/newspack.php on line 27

The referenced vendors folder was missing. I SFTPed into the site and found the plugin folder contained many files not included in newspack-plugin.zip, all of them timestamped an hour earlier:

newspack-plugin-transmit

I deleted the folder and uploaded a fresh copy of the plugin, bringing the site back online.

@aschweigert aschweigert added the bug Something isn't working label Dec 20, 2023
@aschweigert
Copy link
Owner

Hm, I haven't run into this particular bug yet so maybe it was just an issue with that release? Let me know if it happens again and maybe we can try to hunt down what's causing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants