skip to Main Content

Gatsby-Source-WordPress: Error when compiling. TypeError: Cannot destructure property 'fields' of 'nodesType' as it is undefined

When I go and try to run gatsby develop I get the following error: TypeError: Cannot destructure property 'fields' of 'nodesType' as it is undefined. at generateNodeQueriesFromIngestibleFields (/Users/repoFolder/Work/gatsby/node_modules/gatsby-source-wordpress/src/steps/ingest-remote-schema/buil d-queries-from-introspection/generate-queries-from-ingestable-types.js:155:13) at buildNodeQueries (/Users/repoFolder/Work/gatsby/node_modules/gatsby-source-wordpress/src/steps/ingest-remote-schema/build-queries-from-introspe ction/build-node-queries.js:25:25) at runSteps (/Users/repoFolder/Work/gatsby/node_modules/gatsby-source-wordpress/src/utils/run-steps.ts:41:9) at runSteps (/Users/repoFolder/Work/gatsby/node_modules/gatsby-source-wordpress/src/utils/run-steps.ts:43:9) at…

VIEW QUESTION

add_meta_box showing blank screen in my page – WordPress

I am working on the plugin and getting issues in add_meta_box. // Page URL- http://localhost:8080/wordpress/wp-admin/admin.php?page=testingpages&action=edit //Plugin page code if ($_GET['action'] == 'edit') { include('admin/views/view-edit.php'); } The below is code, I am using on the view-edit.php page function adding_custom_meta_boxes($post) { add_meta_box(…

VIEW QUESTION

WordPress page shows 404 when adding to URL

I'm adding rewrite rules to my PHP script which is included in a WordPress page with the permalink kb So I can visit domain.com/kb and the page is displayed. function wdm_add_rewrite_rules() { add_rewrite_rule( '^kb/([^/]+)/?$', 'kb?kb_cat=$matches[1]&kb_seq=1', 'top'); } add_action('init', 'wdm_add_rewrite_rules'); But…

VIEW QUESTION
Back To Top
Search