2 votes
Accepted

Database Errors since site updated to Wordpress 6.4.3

The errors were generated because there was a plugin that forced sql modes to be used on the database that are actually "incompatible" with wordpress. The following code was sadly executed ...
Compjeuter's user avatar
2 votes
Accepted

How to change database entries due to theme change

It all depends on the two themes. Generally speaking, the intent in WordPress is that if you switch your theme, you don't lose functionality. However, some themes do have built-in functionality such ...
WebElaine's user avatar
  • 9,400
1 vote

How to generate PDF dynamically based on values from the database in WordPress

Using the FPDF library (found at http://www.fpdf.org) you generate PDFs on the fly using any data from your WP site. function wpse60844_generate_pdf( $post ) { /* Define paths for where the PDF ...
Tony Djukic's user avatar
  • 2,058
1 vote
Accepted

How to get a list of all posts and their categories?

If you want to export the data to a CSV or JSON file directly from the SQL query, you can use the MySQL INTO OUTFILE clause. SELECT wpd9_posts.post_title, GROUP_CONCAT(wpd9_terms.name) AS categories ...
vijay pancholi's user avatar
1 vote
Accepted

plugin doesn't retrieve data from database

The issue is that your JavaScript code is trying to retrieve and populate the post title in the new window, which is on a different domain (khoreketab.com), while the AJAX request to get the post ...
Rutvik Panchal's user avatar
1 vote

Issue with WordPress Plugin Activation Hook and Table Creation

Not sure if this helps but try doing this in the main plugin file: require plugin_dir_path(__FILE__).'inc/plugin-setting.php'; require plugin_dir_path(__FILE__).'inc/db.php'; // Register activation ...
WordPress Buddha's user avatar
1 vote

Can't change login logo & css - older plugin data blocking?

Found it! If you are googling ypyp-sym-tsym, almost nothing comes up, so I'm adding the answer here, in case somebody else stumbles upon this issue. The plugin that added this was yellowpencil (ypyp), ...
Adam Larsson's user avatar
1 vote
Accepted

Understanding Redundant postmeta Tables in WordPress Database

Is it normal to have multiple postmeta tables in a WordPress database? No, each site has a single post/user/term and comment meta table. A multisite will have a set of those tables for each site in ...
Tom J Nowell's user avatar
  • 59.2k

Only top scored, non community-wiki answers of a minimum length are eligible