Forum Replies Created
-
AuthorPosts
-
July 27, 2024 at 12:55 AM in reply to: White screen of death on some pages with views after updating #46019
AMX
ParticipantThe error is:
Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given
{{ term.taxonomy }} works in a taxonomy archive, but on a single it causes the error now. It was not the case before.
I used it inside a conditional for a dynamic page hero. The idea was to have a single dynamic page hero template for all types of content and archives. I guess I will need to separate it.
July 22, 2024 at 10:59 AM in reply to: White screen of death on some pages with views after updating #45967AMX
ParticipantI have managed to narrow it down to the view and code that causes the white screen.
It is here:
{% if field2 == '' and post_type != 'designs' and term.taxonomy != 'places' and mb.is_singular() %}term.taxonomy != 'places' causes the error.
It had been working for a long time and not anymore. Why? How can I replace it?
July 19, 2024 at 6:04 PM in reply to: White screen of death on some pages with views after updating #45945AMX
ParticipantDeactivating WP Gridbuilder and all its extensions does not help. Also, deactivating MB AIO and installing only MB Views does not help. Always the same: "There has been a critical error on this website."
April 5, 2024 at 8:44 AM in reply to: ✅Fatal error: Uncaught TypeError: Unsupported operand types: string & int #45149AMX
ParticipantThanks! It seems to working now.
April 4, 2024 at 7:53 PM in reply to: ✅Fatal error: Uncaught TypeError: Unsupported operand types: string & int #45138AMX
ParticipantThe site was migrated from Toolset to Meta Box some time ago, if that matters.
AMX
ParticipantThere are many scenarios where you don't need leaflet.css at all on the front-end. The field itself will work fine if the stylesheet is disabled on the front-end and kept in the admin area.
If someone uses, for example, Mapbox to render the field, that css on the front-end has no purpose, it is just bloat.
Also, as the file is loaded from an external server, I am not sure if it is OK, in the context of GDPR.
There must be some way to deactivate it...
AMX
ParticipantAll right, so the standard method of dequeuing doesn't work in this case. Any ideas how to achieve the goal?
AMX
ParticipantThanks.
September 21, 2023 at 12:11 AM in reply to: ✅Gutenberg doesn't load on pages after the migration #43302AMX
ParticipantAMX
ParticipantHave you checked "My Account"? I can see Favorite Posts in My Account:
AMX
ParticipantHere is the formatting corrected:
{% set group = attribute( site, 'site-options' ) %} <img src="{{ group.default_page_hero_1.full.url }}" width="{{ group.default_page_hero_1.full.width }}" height="{{ group.default_page_hero_1.full.height }}" alt="{{ group.default_page_hero_1.full.alt }}">May 2, 2023 at 5:25 PM in reply to: ℹ️Feature Request: List Active Views in the Top Bar (like in Toolset or GP) #41679AMX
ParticipantI am not an Elementor user, so I don't know 🙂 If Elementor has something like that, then yes.
I just know it from Elements in GeneratePress Pro and also from Toolset. It is super-super convenient and saves us time.Greetings
TomApril 7, 2023 at 3:49 AM in reply to: ✅Excluding the current post in reciprocal relationships #41373AMX
ParticipantThank you, Peter. It works.
Greetings,
TomAMX
ParticipantI'll add my voice:
It would be great if this could be added to the roadmap at Trello as a feature request. I do it with JavaScript now, but it is a little time-consuming and inconvenient. It would be nice to have an option to limit the number of choices... Often it is necessary.Greetings,
TomMarch 29, 2023 at 11:54 PM in reply to: ✅Changing the Post Title/Slug after front-end submissions based on fields #41265AMX
ParticipantYes, the shortcode includes post_type='cats'. If I remember correctly, the posts were not saved without that attribute.
But I have now changed the conditional to
if ( 'cats' == $post_type )and as far as I can tell, it is working now. Thanks.Greetings,
Tom -
AuthorPosts