Hi
I've just updated to the latest, now when I try to use function wp_create_categories (in admin-db.php) I am getting error: "wpbit.wp_categories doesn't exist". Is the wp_insert_category function broken?
Thanks.
D.
Hi
I've just updated to the latest, now when I try to use function wp_create_categories (in admin-db.php) I am getting error: "wpbit.wp_categories doesn't exist". Is the wp_insert_category function broken?
Thanks.
D.
No, wp_create_categories() is now in /wp-admin/includes/taxonomy.php. You didn't upgrade properly, or did not delete the old files before upgrading. WordPress 2.3.1 has no admin-db.php file.
Remove your older wp-admin directory and replace it with the newest version of the directory.
Would be great if there was a note in the upgrade manual/steps saying which files are now obsoleted with this release.
Well, that would really be all of them.
Part of the upgrade process should involve deleting the old wp-admin and wp-includes directories. If you're just overwriting (possibly because you have hacked some core files), then you're going to have these sorts of issues.
My advice would be to avoid hacking the core files and always replace wp-admin and wp-includes entirely.
Thanks for such a fast response.
All is now working perfectly, keep up the good work.
Regards,
Daniel.
This topic has been closed to new replies.