The ID
field in the wp_post
table should be an UNSIGNED BIGINT in MySQL.
That means it can store values from 0 to 18,446,744,073,709,551,615 ((2^64)-1).
See the MySQL documentation article for that.
Your value of 796,978,707,878,960,002 is a not bigger than the allowed maximum value.
So in theory it should be able to handle that ID value, but the database clearly cannot handle values that big.
Check on the database: which version are you using, is it really an UNSIGNED BIGINT on your end?
Related Posts:
- Issue with wp_insert_post and post_content field error Could not update post in the database
- Importing posts from old website to new conflicting post ID’s?
- Using table lock with wp_insert_post?
- Get all tags not just first 10 with wp api 2.0
- What is the proper way to validate and sanitize JSON response from REST API?
- Insert post in another database
- Data storage for JS app using WP REST API
- How to combine multiple wp_insert_post into one in order to gain better performance
- Sending posts from Python to WordPress
- Custom Post Type not showing anything added by code anymore?
- How can I query the db to access current post information?
- How to access a table in a wordpress database using REST API?
- How to rerieve comments and their replies from DB
- Call to a member function insert()
- Get id from database
- Using class id from array for query
- Create hundreds of users with just ID in phpMyAdmin
- WordPress API standard compliance and specification for external database [closed]
- If an Application Password is accidentally revoked, is there any way to restore it?
- How is better to store at DB 1-side relationsip from CPT to many Taxonomies Terms ID’s?
- How to resolve ORA-011033: ORACLE initialization or shutdown in progress
- Oracle SQL query for Date format
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- Can I have multiple primary keys in a single table?
- Using wpdb to connect to a separate database
- How can I make a WordPress database portable and url independent?
- Database connection close
- How to stop WordPress using utf8mb4_unicode_520_ci collation?
- Exporting revisions
- WP_Options ID high
- How to use multiple database in wordpress?
- Is removing orphaned wp_postmeta records safe?
- What ALL can cause “Another update is currently in progress.”? [closed]
- Error connecting to DB in /wp-includes/wp-db.php on line 1538 [closed]
- Set Display Name to first and last name (phpmyadmin SQL Query)
- How to fix unchanged URLs in Database after running serialized search and replace script?
- Trigger Plugin database update after git pull
- How to query the WordPress database to get posts of a certain custom post type, taxonomy and field?
- Cannot update custom database table row
- SQL Error wp_commentmeta – incorrect table definition
- WordPress database error – Error in SQL syntax – I can’t identify any error?
- Change WordPress prefix for only one table?
- Two websites one database, administrator not working on second website
- Select two sums with single get_var statement
- How to get the SQL of the changes made to the database from an update or upgrade?
- Merging two wp_posts tables while avoiding duplicates
- How can i add custom fields into the contact form 7 [closed]
- Store partial database to an archive database time to time
- Move out of sync posts from one database to another
- MS Access to manage WordPress Database
- Migration: Copying database content to a different server
- Remove empty rows from the database
- Custom WordPress Table wpdb
- Check if post id exist in table than only update instead of inserting new row
- Detail explanation of wordpress database fields and metatag list [closed]
- CreateOrUpdate in WordPress
- $wpdb->get_results($wpdb->prepare(… You have an error in your SQL syntax;
- How to get a list of WordPress default database tables?
- Can local WordPress installs share /wp-content/ folder and database?
- how to encyrpt DB_PASSWORD in wp-config
- Choosing http or https during manual installation of WordPress and database
- Stringing together content from different databases
- Backing up WordPress database and files
- Safely store code(html/js..) into database
- Why does wp_links still exist in the db schema?
- Creating and Using Tables in the WordPress Database
- can’t upgrade wordpress or install plugins, it seems to “think” it’s still on a local installation
- Compare User meta_value with Product meta_value
- Storing user’s data on external database on other server
- How to insert a value to decimal type field using wpdb->prepare?
- Sql query to get all metadata for a post
- Where do I put my create_new_table function()?
- How to import products in host instead of database on wordpress?
- Having all “non-PHP” files on a different server
- syntax error for changing user role from database
- Finding a page holding a specific string/URL that is used in the content
- “wordpress error in establishing database connection” and missing tables
- get_option() does unserialize and don’t remove \
- Adding last value from Database as text in WordPress Page
- Want to update value in database. But it says update() on null
- Merging development site with live site
- The MySQL Connection could not be established., before it was joomla but i have change it into worpress
- I have a WordPress 4.6 database dump – how do I use it in a new install?
- Checking if the data already exsis in the wp database – custom plugin
- live site do not update after importing sql database
- Transforming an wp_options database array into a javascript obect?
- Selecting NULL value from the database
- How can I retrieve data from alternate database using wpdb class?
- Database connection close
- WordPress Database Charset/Collate
- User accounts for saving form data?
- Print output of Table Creation
- Trying to edit a WP site locally using MAMP
- How to delete field using WPDB?
- Log IP of users who click a button? [closed]
- DROP TABLE IF EXISTS `wp_options` error?
- Problem with form database connectivity
- Server database problem
- Best way to search and replace within serialized database strings?
- Sharing plugin tables between 2 sites in the same database