Conversation
supportWhen I switch on generating sitemap, during the saving pages I got this eror: { “code”: “internal_server_error”, “message”: “ There has been a critical error on this website.<\/p> Learn more about troubleshooting WordPress.<\/a><\/p>”, “data”: { “status”: 500, “error”: { “type”: 1, “message”: “Uncaught Error: Call to undefined function app\init\get_home_path() in /home/simplys7/public_html/wp-content/plugins/cds-simple-seo/app/init/Sitemap.php:91 Stack trace: 0 /home/simplys7/public_html/wp-includes/class-wp-hook.php(326): app\init\Sitemap->buildSitemap() 1 /home/simplys7/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 2 /home/simplys7/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/simplys7/public_html/wp-includes/post.php(4784): do_action() 4 /home/simplys7/public_html/wp-includes/post.php(4930): wp_insert_post() 5 /home/simplys7/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(880): wp_update_post() 6 /home/simplys7/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->update_item() 7 /home/simplys7/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request() 8 /home/simplys7/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch() 9 /home/simplys7/public_html/wp-includes/rest-api.php(428): WP_REST_Server->serve_request() 10 /home/simplys7/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded() 11 /home/simplys7/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 12 /home/simplys7/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 13 /home/simplys7/public_html/wp-includes/class-wp.php(418): do_action_ref_array() 14 /home/simplys7/public_html/wp-includes/class-wp.php(813): WP->parse_request() 15 /home/simplys7/public_html/wp-includes/functions.php(1336): WP->main() 16 /home/simplys7/public_html/wp-blog-header.php(16): wp() 17 /home/simplys7/public_html/index.php(17): require(‘/home/simplys7/…’) 18 {main} thrown”, “file”: “/home/simplys7/public_html/wp-content/plugins/cds-simple-seo/app/init/Sitemap.php”, “line”: 91 } }, “additional_errors”: [] }
looking into it
I am unable to duplicate this error. I have tried multiple versions of PHP and WordPress. This reply was modified 1 year, 12 months ago by David Cole .
looking into it
I am unable to duplicate this error. I have tried multiple versions of PHP and WordPress. This reply was modified 1 year, 12 months ago by David Cole .