Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Setup: Clean install of Project Nami install (Web App) with Woo Commerce and their Shopping theme. Everything seems to work except product categories.
So the data is being stored in database, but somehow I can't retrieve. Another anomaly is when I try to add a product (not category). I don't see any categories shown under All Categories. But I can navigate to Most Used and will see several that I created.
Sidenote: Posts categories work correctly.
I was able to pull this with debug enabled:
WordPress database error: [[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near the keyword 'as'. Code - 156]
I reinstalled again just to be sure. And I didn't make any changes, just went straight to creating a product category. It's a basic Project Nami install. I also didn't activate the plug ins that came with it. Just installed Woo Commerce. Theme is default.
Other info - tags seem to work fine. Also when I click on Name then all the categories show up.
In case this provides any more clues, selecting WooCommerce from the left nav bar, and choosing status displays this message:
PHP Fatal error: Uncaught Error: Call to undefined function mysql_get_server_info() in D:\home\site\wwwroot\wp-content\plugins\woocommerce\includes\wc-core-functions.php:2255