Content filter not working
-
Hi,
I have some issues using Table of Content and Content Filter, hoping you could help me.1. The first issue is with the Table of Content; I get this error message in my blog
`Warning: array_filter() expects parameter 1 to be array, null given in /home/qwinstah/public_html/wp-content/plugins/ultimate-blocks/src/blocks/table-of-contents/block.php on line 10
Warning: array_values() expects parameter 1 to be array, null given in /home/qwinstah/public_html/wp-content/plugins/ultimate-blocks/src/blocks/table-of-contents/block.php on line 10
Warning: Invalid argument supplied for foreach() in /home/qwinstah/public_html/wp-content/plugins/ultimate-blocks/src/blocks/table-of-contents/block.php on line 18`
I also get “The block has encountered an error and cannot be previewed” when editing the blogpost.
This disabled my Table of Content for the blog post.
2. My second issue is with the Content Filter, and it seems that the filter categories are not sorting my blog post even if I have added categories to different sections.
Steps I have tried:
1. Disabled all other plugins to see if there is a conflict
4. Tried to add a new table of content
5. Updated all my plugins to the latest version
6. Purged cache
7. Tried on different browsers.The problem persists.
It has worked before, but now the categories and filter are not working.
Unfortunately, I can’t upload screenshots and don’t want to link to something and break the forum rules, but please look at the link I provided in the “Link to the page you need help with.”
Thank you.
RegardsThe page I need help with: [log in to see the link]
- The topic ‘Content filter not working’ is closed to new replies.