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

Plugins don't work on PHP 8 #958

Open
gregrickaby opened this issue Mar 2, 2022 Discussed in #956 · 2 comments
Open

Plugins don't work on PHP 8 #958

gregrickaby opened this issue Mar 2, 2022 Discussed in #956 · 2 comments

Comments

@gregrickaby
Copy link
Contributor

Discussed in #956

Originally posted by rem7i March 2, 2022
All six WDS Headless plugins are NOT working on PHP 8+
You can install them, but CANNOT activate at all.
Are you working to fix this or we MUST downgrade the PHP Version?

@emilse-webdev
Copy link

emilse-webdev commented Jun 2, 2022

Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, function "WDS_Headless_SEO\activation_callback" not found or invalid function name in wp-includes\class-wp-hook.php on line 307
WDS Headless (Algolia)
WDS Headless (Blocks)
WDS Headless (Core)
WDS Headless (Gravity Forms)
WDS Headless (SEO)
same error with this five plugins.

@markus2610
Copy link

In wds-headless-core.php require 'vendor/autoload.php'
In compose:
"autoload": { "files": [ "activation.php", "deactivation.php" ] }
composer update

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

3 participants