Forum
Categories not showing up in Blog Post after update of Core then Blog.
OK, so we did all the usual.... did a recent update of CORE to 2.8.13, then Blog from 3.7.5. Just now also updated CORE to 2.8.14...
Added new categories template code to our post template, and checked categories app was in config, but no dice.
When we open an existing or new Blog Post, no categories show to select.
On debug, this shows:
SELECT * FROM perch2_categories c, perch2_category_sets s WHERE c.setID=s.setID AND s.setSlug='news' ORDER BY catTreePosition ASC
Note: our Category sets are "Blog" (blog) and "Main" (main). Is "news" a default slug? Is this related to issue?
APP versions: Perch: 2.8.14, PHP: 5.3.29, MySQL: 10.0.20-MariaDB, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (2.8.14), assets (2.8.14), categories (2.8.14), perch_blog (4.6), perch_forms (1.8.3), perch_mailchimp (1.0.1) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', ); ?>
Thanks.
No,
news
isn't default. Can you show us your template code?This is our Post template:
Everything looks like it's in order there. Can you show me the full debug?
OK, by magic it's fixed.... I think this is down to hosting caching??
Now we just have to adjust the front end filters to new variables etc. Will let you know if any issues here...
Thanks.
Actually, this bug was to do with wrong set being used in post.html template. We were using blog set but the code had set as news.
Which code?