Hi - I am having trouble with creating parent cats since the most recent nightly.
I can add subcats to parent directories but not create new ones.
I'm now doing it with phpmyadmin by creating a subcat and manually changing the parent ID.
the error i got when doing it the way its supposed to work was:
SQL/DB Error:
[You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1]
INSERT INTO wp_categories (cat_ID, cat_name, category_nicename, category_description, category_parent) VALUES ('0', 'Design', 'design', '', )
the error on upgrading to nightly was:
[You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'http://developer.apple.com/documentation/macos8/TextIntlSvcs/Te]
INSERT INTO wp_options (option_id, option_name, option_type, option_value, option_description, option_admin_level) VALUES (93, 'blog_charset', 3, 'utf-8', 'Your blog’s charset (here’s a list of possible charsets)', 8)]
So i'm wondering if it's a problem here, in my wp-admin/upgrade-functions.php:
[// Add blog_charset option
if(!$wpdb->get_var("SELECT * FROM $tableoptions WHERE option_id = '93'")) {
$wpdb->query("INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level) VALUES (93, 'blog_charset', 3, 'utf-8', 'Your blog’s charset (here’s a list of possible charsets)', 8)");]
I'm not great at php or mysql but am willing to get my hands dirty if someone can give me feedback.
Is this something I can/should fix and if so, a pointer in the right direction would be appreciated!
thanks
:)