So I found the answer by myself. It was rather simple. The localhost server I was running uses PHP 8.0, while the website I was trying to migrate runs on WordPress 5.4.1 using PHP 7.3. All I had to do was to configure xampp to run PHP 7.3 on that particular project and done. The site showed up without any issue.
So I’m debating between deleting the question or leaving it up, because it was a dumb problem, but also it’s a pretty good educative tool of why you should always check that your localhost server uses the same versions of the live server.
Related Posts:
- WordPress Migration: Getting 404 Errors: Only Home Page works
- Moved to new server, all pages work EXCEPT home page (page not found)
- All pages after level 1 showing 404 after WordPress migration plugin – how to fix?
- How to recover WordPress Adress(URL)
- Site migration from Localhost to Server – 404 errors
- Page 404 Error on Localhost
- 404 Errors on Every Page (Including Homepage) After Migrating From IIS to Apache
- Copying live site that is using older version of WP to localhost
- Local copy of site returns 404 for all content outside of core .php templates
- Moved site to 1&1 hosting, but is broken and redirecting to GoDaddy 404 [closed]
- WordPress Site transfered to another Server. 404 all pages
- get_the_ID() gives notice in 404 page
- Feed 404 Errors
- 404 error on all pages but homepage
- Why does my WordPress show a 404 message for 403 forbidden directories?
- “Lost password” page triggers 404
- Turning on the 404 page on localhost
- How do I go about fixing this apparently messed up upgrade?
- Why isn’t my imported database showing up? install.php pops up and adds new tables to the database
- What does do_action(‘admin_init’); does actually?
- Form in WordPress : 404
- Why Runtime service worker (runtime-service-worker.js) is being loaded, but can’t be found?
- Nginx with WordPress not showing template 404 for certain file types
- WAMP to XAMPP WordPress transfer
- Getting a 404 in Debugger for example.com/wp-admin/Array?
- Intercept 404 and try to serve another content if exists?
- How do I show the WP admin error page?
- WordPress takes too long to show 404 error on images (on LEMP stack)
- Transfer wordpress site from web server to localhost
- Some images not found 404 in localhost
- Template redirect template loaded, but the header 404
- How can I send an email in my plugin?
- Why I get File Not Found (404 error) when the file is actual there?
- WP_DEBUG must be on, otherwise edit post or page will show 404 error
- Getting “404 page not found” error when i access to my Login page
- Virtual robots.txt missing
- Moved from Blogger to WordPress, however I can only see the Google 404 page
- wp-tinymce.php 404
- Display child pages on parent page: 404 message overrules shortcode in page
- Incorrect url for sharing blog on linkedin [closed]
- Catch 404 errors in nested installations
- WordPress 404 Page displaying on a sub directory that has it’s own 404 page
- Why do I have a weird rendering issue only on 404.php caused by wp_nav_menu?
- make wordpress log errors in apache log file
- Page not found (404 Error) even if the page exists?
- Custom JSON feed rewrite
- My wordpress website does not show 404 page and results in http 500 error
- wp-json Returns 404 Upon Plugin Activation
- When I remove get_header() from 404 page, my css doesnt work
- Visiting posts results in 404 errors after host migration
- Problem migrating to localhost
- WordPress localhost site always redirect to live site [closed]
- full blog working fine but post-new.php throwing 404
- Scheduling publish of a new version of existing page results in 404
- Page not found but cannot make a new one because the slug is already there
- How to transfer from localHost to live but use the already existing database on the server?
- No 404 page available
- returning 404 page error on form submission [duplicate]
- How can I block with a child theme certain pages?
- Database migration issues – Error #1046 No database selected
- Page not found when trying to link to files in child theme directory
- Can’t view post, goes to 404 page. Please help
- Lots of 404 errors of pattern /null&rand=. Why?
- wordpress sitemap subtypes returns 404 with correct data for pages bigger than 1
- Why am I getting Intermittent 404 pages on a sub domain with WordPress?
- Please Help me with this 404 error
- How to fix mime-type and (after disabling nosniff) 404 errors for css and js files in staging site
- Migrate site from local to local via a backup
- Could use some help moving site to subdirectory, what am i doing wrong?
- WordPress 404 all pages except home
- How to customize file path for 404 redirection in php?
- Since moving HTTPS using cloudflare, the admin and login pages no longer work
- Pages counts are showing in WordPress backend but pages shows 404
- 404 on CSS and JS only on Homepage
- fix slugs containing invalid characters?
- Getting a Error 404 Not Found on subcategory
- I’m getting 404 when editing a post with hyperlink, what’s wrong?
- https images not displaying
- Custom Rest API namespace and endpoints are responding with 404 & 503 errors
- My question:When I started my website, the “page not found” error always came up
- Page 2 404 Error – From main homepage, not custom post type
- Migrating a live WordPress website to a Local Server: why some elements of the website are missing?
- Error 404 when saving or previewing one specific page [closed]
- 404 Page not Displaying
- new post link leads to 404 error page
- Error 404 on wp-includes directory
- How can I use images that are on the server locally?
- Add custom content to nonexistent page
- WordPress shows 404 on pages 11 and above?
- Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script
- Using calendar and page does not show calendar for next or previous year
- 404 Error for Custom Post type
- Why after a form post back, I get 404?
- HTTP status 404 (error) when trying to log in
- Page/2 posts don’t load and give 404
- %20 in URL in archive page shows error 404 on page [closed]
- WordPress Site says Front Page is 404 When Not Login
- Getting 404 when static files have “?ver=x.y” suffix
- WordPress Permalinks 404 Not Found
- How to include a php file in 404.php file?