Fatal Error
#237
Replies: 1 comment
-
|
Found one configuration to work: Strange: At another, older installation I tested it in August, it still works all fine. Even with Google Maps API. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Unfortunately still (trunk version )makes trouble:
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class "CLASS" not found in wp-includes/rest-api/endpoints/class-wp-rest-controller.php:434 Stack trace:
#0 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1969): WP_REST_Controller->add_additional_fields_to_object(Array, Object(WP_REST_Request))
#1 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(568): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request))
#2 wp-includes/rest-api/class-wp-rest-server.php(1171): WP_REST_Posts_Controller->get_item(Object(WP_REST_Request))
#3 wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/posts/(?...', Array, NULL)
#4 wp-includes/rest-api.php(535): WP_REST_Server->dispatch(Object(WP_REST_Request))
#5 /wp-includes/rest-api.php(2884): rest_do_request(Object(WP_REST_Request))
#6 [internal function]: rest_preload_api_request(Array, '/wp/v2/posts/1?...')
#7 wp-includes/block-editor.php(633): array_reduce(Array, 'rest_preload_ap...', Array)
#8 wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context))
#9 /wp-admin/post.php(187): require('/homepages/22/d...')
#10 {main} thrown in wp-includes/rest-api/endpoints/class-wp-rest-controller.php on line 434
Set up a whole new installation. 4.5 did work when using without GoogleMaps (unless the station issue). After trying 5.0 and switching back to 4.5 it's impossible to edit any old posts. While adding a new one, following messages appears:
Fatal error: Uncaught Error: Call to a member function set() on null in wp-content/plugins/simple-location/includes/class-rest-geo.php:410
Stack trace:
#0 wp-includes/rest-api/class-wp-rest-server.php(1171): REST_Geo::geocode(Object(WP_REST_Request))
#1 wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/sloc_geo/1.0/g...', Array, NULL)
#2 wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request))
#3 wp-includes/rest-api.php(410): WP_REST_Server->serve_request('/sloc_geo/1.0/g...')
#4 wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP))
#5 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#6 wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#7 wp-includes/class-wp.php(399): do_action_ref_array('parse_request', Array)
#8 wp-includes/class-wp.php(780): WP->parse_request('')
#9 wp-includes/functions.php(1332): WP->main('')
#10 wp-blog-header.php(16): wp()
#11 index.php(17): require('/homepages/22/d...')
#12 {main}
thrown in /wp-content/plugins/simple-location/include
Beta Was this translation helpful? Give feedback.
All reactions