In trying to use this with 5.8 I’m getting
Deprecated: Function mcrypt_module_open() is deprecated in /shared/httpd/wp-main/htdocs/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMcryptMixer.php on line 75 Deprecated: Function mcrypt_enc_get_block_size() is deprecated in /shared/httpd/wp-main/htdocs/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMcryptMixer.php on line 76 Deprecated: Function mcrypt_enc_get_iv_size() is deprecated in /shared/httpd/wp-main/htdocs/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMcryptMixer.php on line 77 Deprecated: Function mcrypt_module_close() is deprecated in /shared/httpd/wp-main/htdocs/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMcryptMixer.php on line 86 Warning: Cannot modify header information - headers already sent by (output started at /shared/httpd/wp-main/htdocs/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMcryptMixer.php:75) in /shared/httpd/wp-main/htdocs/wp-includes/functions.php on line 6584 Warning: Cannot modify header information - headers already sent by (output started at /shared/httpd/wp-main/htdocs/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMcryptMixer.php:75) in /shared/httpd/wp-main/htdocs/wp-admin/includes/misc.php on line 1310 Warning: Cannot modify header information - headers already sent by (output started at /shared/httpd/wp-main/htdocs/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMcryptMixer.php:75) in /shared/httpd/wp-main/htdocs/wp-admin/admin-header.php on line 9
Also ran into issue https://github.com/gatsbyjs/gatsby/issues/29966 is there a better fix than adding this to your plugin options:
{
resolve: gatsby-source-wordpress,
options: {
type: {
BlockEditorContentNode: { exclude: true }
}
}
}`
I’m getting
Missing onError handler for invocation ‘building-schema’, error was ‘Error: Type with name “WpBlockAttributesObject”
does not exists’. Stacktrace was ‘Error: Type with name “WpBlockAttributesObject” does not exists
Then app is stuck building schema
Any suggestions on how to debug/fix
Did you manage to get this working @mwoodpatrick? It’s almost 5 months later? I seem to be running in to similar issues with 5.8.3.