Double comment blocks makes me the same problem:
/*
… */
*/
Try to remove all commented blocks from your functions.php or included sub-functions. Clean your functions.php and add one by one function and you will find the issue. Third thing was PHP passing by reference, try to avoid it.
Related Posts:
- How would I get a taxonomy/category list inside a Gutenberg block?
- Load categories with ajax
- Populate dropdown based on selection of parent category
- Select posts by name and category per REST API
- Pagination for ajax category filter
- ajax for filtering posts by category in wordpress loops
- Filter posts by categories ajax is showing nothing
- How can I use AJAX with check-box categories?
- Unable to browser posts in categories
- Ajax load more not working with multipler categories
- Ajax Category add doesn’t update the list table custom column
- Filter custom taxonomy posts via AJAX
- Ajax call activate after submit in edit-tags.php page
- Bringing Ajax Loading Feature on Category Pages
- Display post content from category name using ajax
- WooCommerce Product Search Error
- Remove “?category=” in the URL wordpress ajax filter work for category
- WordPress Multisite – global categories
- Get posts from sites in Multisite?
- Retrieve Product category ‘NAME’ by product category ID – WooCommerce?
- Can’t custom taxonomies have same terms (slugs) as categories?
- Using wp_category_checklist in a widget
- Filter front page posts by category
- How to get the url to tag & category base set by the user?
- Exclude one category from get_the_term_list
- WordPress remove separator from last item in wp_list_categories
- Need help adding custom field to category
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- How to display a list of categories
- Root level category, tag, author and archive pages to work
- Number of posts in page – set per category and exclude sidebar
- Create single.php for specific category by category id
- is_category in pre_get_posts results in php notices
- Use get_term_children to get the sub category of a parent category for the current post
- How to make all posts in a category “unsticky”?
- Get a variable from object in array [closed]
- How to stop wordpress from showing the selected category on top of others in the category selection?
- advanced custom field Show field in special categry page [closed]
- Exclude Child Categories Using wp_list_categories
- a-z list, categories and sub categories in loop
- Category slug $_SERVER[‘REQUEST_URI’];
- wp_dropdown_categories and custom taxonomy + custom post type
- How do I get a list of all categories that a given user has written blog posts for?
- Linking products to categories
- How to remove “Category : …”
- Add “page-a” slug to category link if user visit category link from “page-a”
- How to call custom category field data in theme?
- Query Posts Exclude Entire Category
- One Specific Category To Permalink
- Hide woocommerce category name from specific pages
- select parent category first then child
- WordPress category widget only show categories with children
- Menus don’t work after 4.4 [closed]
- Custom post and category template pagination problem
- Multiple category selection in post, shows less important category in breadcrumb
- I want to display the all the posts that are inside a certain subcategory
- How to list all categories in three divs dynamically based on the quatity of categories?
- Grouping categories by genre
- how to “not” display new posts with a specific category on the main page?
- Category template with pagination returns 404 on next pages
- Display custom taxonomy attached to the post on post single page
- show all WordPress categories in a page
- Ive got a term (get_term_by) but now I want to filter it by a category it is in?
- Get and show all of the available categories
- how to remove the default title of Categories widget
- Recent post by custom select query
- Do not show sub categories in the loop on archive-product.php
- Having a template per category? Bad for server overhead?
- Add custom code at start and end of all posts in a category
- Group search results by category
- Anchor tag generates blank href attribute using echo esc_url( )
- WordPress monthly archive category specific
- Add multiple orderby with pre get posts
- Is custom menu name and category name linked in wordpress?
- Output Title of Post’s Current Category
- Related Post by category, but not current category child
- Displaying posts of given category
- Location Based Permalink
- get list of category from a specific post with get_term()
- Return all Tags and Categories in Separate List
- Featured Category or Special Category in WordPress
- How to show given products only using product id array from specific category page in woocommerce
- Ordering terms whilst in loop
- Pass WordPress variable to the next page
- How can I list all slugs categories?
- Remove base category gives 404 error
- Woocommerce product catalog, products with different description
- Categories in media library
- WordPress Shop and restricting products and categories for some users/groups
- Pass list of categories to JS
- WP url to get rss with full text of post
- WP_query exclude a category unless it has more than one catagory
- Paginating a list of all posts collected by category titles
- Customize category query in widget
- Page permalink rewrite
- How to control order when displaying child categories
- Broken category styling
- Trying to WP_Query a category
- Woocommerce Force the category choice before creating new product? [duplicate]
- Restricted category in Woocommerce [closed]