-
Notifications
You must be signed in to change notification settings - Fork 0
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
Network activate fails on IndieBlocks error #21
Comments
I think IndieBlocks uses the Composer autoloader, so something would be calling this (static) class without loading IndieBlocks' functions.php or something. |
Still don't understand, but it looks like this might (?) be fixed by removing functions.php from
and instead including it explicitly. Or move away from
in IndieBlocks' Webmention class. I dunno. Looks like something is triggering autoloading of the Webmention class without the plugin being fully loaded. |
Possibly related: humbug/php-scoper#1036 Looks like it affects only autoloaded files (and not classmaps). So functions.php and, possibly, the mf2 library. Moving functions.php out of the autoloaded files and requiring it explicitly, for now. May have to do the same with php-mf2. Or "manually" fix the autoload_files.php and autoload_static.php files? |
Fixed by manually adjusting files' hashes. |
🤷
The text was updated successfully, but these errors were encountered: