Problem solved. WordPress had an old version. XAMPP had PHP 8. Incompatible.
I uninstalled XAMPP and reinstalled an older version with PHP 7.4.
now it’s working fine
Related Posts:
- PHP function showing wrong time in WordPress
- Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]
- XAMPP-VM Mac OS Mojave wordpress debugging using XDebug
- Fatal error: Uncaught Error: Call to undefined function get_header() [closed]
- I installed WordPress locally now how do I login?
- How to prevent a function from running based on host (ie web vs local)?
- call to undefined function mysql_connect
- Can i use php sql functions instead of $wpdb?
- Getting paginate_links() ‘end_size’ to display none
- What is the best practice for escaping data URIs?
- WordPress Template Engine?
- Display only text to WordPress loop without loosing the text formatting
- Making a follow button, Ajax not talking to php
- get understrap pagination to work with custom query
- Replace existing content from specific WooCommerce admin orders list column
- How do I get images (with a thumbnail preview) to show in search results?
- How to display blog images using wordpress in existing project
- How do I translate this string – PHP syntax question
- How to break down importing of feeds
- PHPCS: Strings should have translatable content
- mysqli_real_connect() – authentication method unknown to the client Warnings
- php syntax – how to concatenate properly – echo bloginfo(‘stylesheet_directory)
- how to increase custom post value by one most efficiently?
- multiple if statements [closed]
- Escape post image attachments added to template
- Woocommerce product download URL
- Multiple choice in a custom taxonomy
- Echo URL of large version of Featured Image
- Get_avatar filter?
- WordPress custom login form using Ajax
- WP dynamic featured image – Can’t get second featured image url
- Why is my cookie not unsetting upon logout? [closed]
- How to remove role=”navigation” from all nav elements?
- How to use $_GET function WordPress backend
- How to set variable, pass it to a partial file and remove it after?
- wp_dropdown_pages auto submit
- WooCommerce Tabs [closed]
- Limit checklist by the current user
- How to loop through all the attached images in a post, and get their url one by one
- Use Tags to initiate Search
- Show About and Contact Us page when they’re clicked in the top menu.
- single.php with different look by category
- Displaying posts based on category
- Changing the color scheme based on the url visited
- How to send form data from WordPress (Meta Box) to an OData service?
- Pass Variables or Variable Place-Holder from Editor to PHP
- Issue with custom loop in Archive page
- WooCommerce pages looks unstyled
- class ‘wphpc_PAnD’ not found
- Accessing values from ACF sub field (flexible content area) in PHP
- Creating an image from a custom field
- home.php show blog posts as grid view
- Custom post type permalinks do not appear using the link functions
- Loading Posts & Category with Ajax
- How to organize functions.php content
- List all anchor links on a page
- Assign Custom classes to every Excerpt
- Adding a ‘style=’ bit to image_send_to_editor output
- Don’t display a sidebar widget when on a specific page
- Auto create Nextgen Gallery on post creation [closed]
- Adding a navigation page state to individual blog and portfolio pages
- Inline CSS header style priority function.php Child (no enqueing I think)
- Display Post Title From Select Choice Loop in Advanced Custom Fields (ACF) – WordPress
- How do you create a custom category widget that you can style?
- Add Custom Category Description When Empty
- Contain multiple page templates in one PHP custom template file in WordPress?
- url not using query string no longer working
- How do I reopen the (Popup Maker) after entering the correct password for a password protected page?
- Custom plugin: how do I call a PHP file if settings option is set to true?
- How to edit button permalink inside function.php using a child theme?
- How to switch between two primary menus (programatically0
- Why am I getting syntax error, unexpected ‘endwhile’ (T_ENDWHILE) on single.php
- Elementor to custom wordpress page
- custom post type not showed with bootstrap 4 modal and template part
- Send email to users when they get new followers
- Conditionally change WordPress core language
- Remove item from post_meta array via AJAX
- Shortcode just with a php code
- CSS loading as empty file in Custom Theme
- Calling WordPress hook from within a class: call to undefined function error
- wp_send_json erase last value
- PHP array to jQuery array ” Uncaught SyntaxError: Unexpected token < "
- I want show only data for today
- How can I customize a WordPress theme before it’s downloaded?
- rewrite_rule – working fine but broken for pagination
- AdWords API with WP
- Add title and caption to thumbnail image on mouseover
- Postmeta not saving
- WordPress wp_remote_post() sending informaiton to Redmine REST API
- Missing items on page
- WordPress rewrite question
- WordPress blog set up
- Cannot get custom javascript to execute on page
- How to declare a variable at the bottom of the page and use its value at the top?
- How can a ‘scripts’ directory be hooked into wp_head();?
- Display Current Time using shortcode
- WP and Laravel integration (Updated) [closed]
- Alternative to php echo within code
- Why does WordPress not send the user the email to add a password?
- How to put a class in the p tag automatically added by the_content() in the wordpress loop?