Forum Replies Created
-
AuthorPosts
-
February 27, 2024 at 8:12 pm in reply to: Masonry: AND rule for category selection returns no results #1435645
Hey @guenni007, thanks for posting your results. It’s really weird—when I set up another test site and use the AND logic, it’s simply working (with newly created posts and categories). Also, on the site where the AND categories logic is failing, if I pick some other categories, it would show, on some it won’t. But I can’t really figure out the pattern why it’s failing in some cases. It might be due to some ‘old’ setting or hidden remainder of categories that have a # in the beginning, like #News instead of News, but even renaming them won’t help. Any post belonging to some categories or their child categories just won’t show if I use the AND logic.
@Ismael is that something that could be a left-over from a former theme state/database error? From what it looks, some (older) categories cannot be included in the AND logic, but I also can’t really tell the age.
For example:Post 1 – Categories: #Myhashcat, My cat 2, upcoming
Post 2 – Categories: ChildhashCat (child category of #Myhashcat), My cat 2, upcoming
Post 3 – Categories: ChildhashCat (child category of #Myhashcat), upcoming
Post 4 – Categories: ChildhashCat, #Myhashcat, upcomingMasonry with My cat 2 + upcoming (AND logic): 2 posts are showing
Masonry with #Myhashcat + upcoming (AND logic): no posts showing
Masonry with ChildhashCat + upcoming (AND logic): no posts showingFebruary 27, 2024 at 5:31 pm in reply to: Masonry: AND rule for category selection returns no results #1435618@Ismael, just to confirm, we’re on 5.6.10, so the latest version of your theme.
February 26, 2024 at 12:33 pm in reply to: Masonry: AND rule for category selection returns no results #1435434Hey Ismael,
not at a computer right now, but did you try the Masonry element instead of the Blog Posts element? That’s where the trouble lies ☺.- This reply was modified 7 months, 2 weeks ago by enoversum.
February 26, 2024 at 9:11 am in reply to: Masonry: AND rule for category selection returns no results #1435395Good morning, Ismael,
thanks for your swift reply! And yes, of course I set up my posts exactly the way as described. Let’s say, there are 30 posts belonging to the category ‘My category’, 10 belonging to to ‘Upcoming’, and two posts belonging to BOTH categories. Hence an AND rule including both categories should display TWO posts, but the module does not pull any posts. Tried it with other categories as well, just to make sure we didn’t set up something wrong. Posts just won’t show.
Best
Eno- This reply was modified 7 months, 2 weeks ago by enoversum.
Thanks, Rikard. I just thought it HAD to be the theme, as that controls what is shown on front- and other pages. I found the culprit, thank you so much for your support, despite this not being your fault at all!
Details posted in private content area. Thanks in advance!
Yes, here it is: https://dev.boks.li/dsee/
Did the same thing as previously on the live site: Updated to WP 6.0 and got my front-page settings screwed.Thanks a lot, Yigit, that did the trick.
I can help with a link: https://www.deutsche-stiftung-engagement-und-ehrenamt.de/veranstaltung/der-verein-als-sicherer-ort-fuer-kinder-kinderschutz-und-kinderrechte/ or https://www.deutsche-stiftung-engagement-und-ehrenamt.de/veranstaltungen/ . The problem wasn’t there until a recent update of your theme.
July 12, 2021 at 3:41 pm in reply to: Error when trying to edit page with toggle element after 4.8.2 update #1309819Hi Rikard,
unfortunately, my customers for whom I bought the theme, have the same problem, but only with certain pages (one in particular): They stated that this occurs since they added an accordion to the page.
Fatal error: Uncaught TypeError: Argument 1 passed to aviaElementTemplates::set_locked_attributes() must be of the type array, string given, called in /mypath/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.php on line 881 and defined in /mypath/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/element-templates.class.php:3727 Stack trace: #0 /mypath/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.php(881): aviaElementTemplates->set_locked_attributes('', Object(avia_sc_toggle), 'av_toggle', Array, Array, '') #1 /mypath/wp-includes/shortcodes.php(343): avia_sc_toggle->av_toggle('', '', 'av_toggle') #2 [internal function]: do_shortcode_tag(Array) #3 /mypath/wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(av_tog...', 'do_shortcode_ta...', ' \n[av_togg...') #4 /mypath/wp-content/themes/enfold/config-templatebuilder/avia-templat in /mypath/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/element-templates.class.php on line 3727
I had temporarily tried to disable all other relevant plugins, to no avail unfortunately. Is this now already known and possibly a quick fix available?
-
AuthorPosts