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

Error in whitelist-html.php causes 3.9 version to crash #1206

Open
gjrdiesel opened this issue Jun 10, 2019 · 7 comments

Comments

Projects
None yet
6 participants
@gjrdiesel
Copy link

commented Jun 10, 2019

The problem (severity: Urgent)

Latest version is seeing an error like the following:

Warning: require_once(/home/xxx/public_html/wp-content/plugins/backupwordpress/whitelist-html/whitelist-html.php): failed to open stream: No such file or directory in /home/xxx/public_html/wp-content/plugins/backupwordpress/classes/class-plugin.php on line 133

Fatal error: require_once(): Failed opening required '/home/xxx/public_html/wp-content/plugins/backupwordpress/whitelist-html/whitelist-html.php' (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/xxx/public_html/wp-content/plugins/backupwordpress/classes/class-plugin.php on line 133

image

The fatal error is causing the entire wordpress installation to crash as reported numerous times here: https://wordpress.org/support/plugin/backupwordpress/

Temporary solution

If you can FTP or SSH to your website, rename the backupwordpress folder found in wp-content/plugins/ to something else like broken_backupwordpress temporarily disable the plugin until the author has released a new fix.

Or WordPress since version 5.2 should send you a email with a login token to your site administrator email address that will let you login in recovery mode and possibly disable the plugin (I haven't been able to test this method personally)

You can also download the previous version straight from wordpress.org: https://downloads.wordpress.org/plugin/backupwordpress.3.8.zip

You can also follow the instructions here for another alternative way to fix the plugin by merging it with an older version https://wordpress.org/support/topic/how-i-fixed-3-9-crash/

Potential long term fixes

url = https://github.com/xibodevelopment/whitelist-html.git

Looks looks like the last release didn't bring in the whitelist-html git submodule because https://github.com/xibodevelopment/whitelist-html.git doesn't exist.

Correct repository looks like it should be https://github.com/humanmade/whitelist-html

Testing

It would be great to set up the travis.yml file and travis.org testing prevent future issues.

-- Updated because this page is seeing being linked a lot from the official WordPress.org support forum.

@neko

This comment has been minimized.

Copy link

commented Jun 11, 2019

I'm baffled as to how it's gone 15 hours without being resolved. Was the release done in a rush before heading home for the day or something?

I'm keen to know what will be done in regards to plugin maintenance, this broken update was the first in 7 months and it was literally to just remove the XIBO support email from the plugin, instead linking to the WordPress support forums that have not had a XIBO reply for 6 months.

From the looks of it, XIBO has also been hastily removed from the footer of the UpdraftPlus website (it's still in the html, just for some reason has been removed via jquery):
image
image

Is XIBO now defunct? Will maintenance be handed over to someone else?

@pmleconte

This comment has been minimized.

Copy link

commented Jun 11, 2019

Hi,
It seems that 2 directories are empty/missing in current release : backdrop and whitelist-html.
To make this plugin work, I had to copy their contents from previous release.
Just hope this help you while waiting for an official fix.
Pascal

@JonasToth

This comment has been minimized.

Copy link

commented Jun 11, 2019

Having the problem as well, temporarily disabled the plugin through recovery in wordpress 5.2.

@darthvader666uk darthvader666uk self-assigned this Jun 12, 2019

@darthvader666uk

This comment has been minimized.

Copy link
Contributor

commented Jun 12, 2019

I have updated Master and tagged a release:

https://github.com/xibodevelopment/backupwordpress/releases/tag/3.10

It has been updated to WP.Org and have tested it locally on WP 5.1.

let me know how that goes.

3.10.zip

@Jamesking56

This comment has been minimized.

Copy link

commented Jun 12, 2019

@darthvader666uk seems to work for me 👍

@JonasToth

This comment has been minimized.

Copy link

commented Jun 12, 2019

looks good to me as well, thanks for your fast fix!

@pmleconte

This comment has been minimized.

Copy link

commented Jun 12, 2019

Ok for me too, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.