Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Refactor of Util class in simply-static #63

Open
MartoEporedia opened this issue Dec 28, 2023 · 1 comment
Open

Refactor of Util class in simply-static #63

MartoEporedia opened this issue Dec 28, 2023 · 1 comment

Comments

@MartoEporedia
Copy link

I've installed the last version of simply-static and simply-static-deploy, but when I try to do a single deploy, I have the following error:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Simply_Static\Util::delete_debug_log() in /var/www/html/home/wp-content/plugins/simply-static-deploy/includes/Api.php:104

I've seen there is a refactor of this method in this commit:
Simply-Static/simply-static@df65c01

delete_debug_log seems to become clear_debug_log in the following rows:
includes/Api.php:89
includes/Api.php:104

@HammenWS
Copy link
Member

HammenWS commented Jan 8, 2024

@MartoEporedia Thank you for this report.

To be honest I haven't updated this plugin for a while because we are moving to use the Simply Static Pro plugin. We started this plugin because in the past the simply static plugin didn't have support for deploying the generated site to S3 and single post deploys. But now it does.

There are probably more breaking changes with newer versions of simply-static since they changed a lot. This is also one of the reasons we decided to move to using the Pro plugin.

We will archive this repository soon. You are welcome to send a PR or fork this repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants