Forum Replies Created
-
AuthorPosts
-
August 1, 2024 at 11:25 PM in reply to: ✅image_advanced data not stored as multiple rows in database anymore #46084
frédéric Gaulbaire
ParticipantI stopped using the cloneable option. All is fine without it. Array is in multiple raws in the DB.
Problem solved. ThxAugust 1, 2024 at 11:20 PM in reply to: ✅image_advanced data not stored as multiple rows in database anymore #46083frédéric Gaulbaire
ParticipantHello,
Yes I use cloneable AND clone as Multiple AND sortable. But whatever I change does not make any difference in the database, it is saved as a single raw (serialized). Looks like 'clone as multiple' is not doing anything for me.
But no problem, I just check if data is serialized before trying to use it... just an additional test, no big deal! But it used to worked before, that's why I was surprised to get screwed datas... I cannot say when it stopped working.
ThanksJuly 31, 2024 at 4:37 PM in reply to: ✅image_advanced data not stored as multiple rows in database anymore #46061frédéric Gaulbaire
ParticipantHello,
Yes it does but still saves the data as serialized as I said.
Thanks anywayfrédéric Gaulbaire
ParticipantIncreasing the php max_input_vars to 10k did the job.
Problem seems to be fixed, not for the bad json export file that is still missing closing tags nor the huge lag when trying to drag/drop and reorder fields elements. At least it's not crashing field groups settings anymore.frédéric Gaulbaire
ParticipantLagging when adding too many fields (I need 40)! Cannot drag/reorder any field because it's too slow. And finally crashed the whole site, could not change or even update field group location in the field group settings...it does not want to update this field anymore and I am locked to 'archive' and cannot even entera prefix (it takes 30 seconds to display it). Also the json exported is not correct and had to modifiy it for missing }}] and so on. I ahd to delete all fields, import and use old metabox versions to make sure, if making sure of anything is the right word.
frédéric Gaulbaire
ParticipantAlso, tried taxonomies, but made things even more complex to debug, preferred solution still is not to use any layered solutions (adding bugs to bugs or adding rewrite rules one on top of each other). I handle that via other fields. Usually not using wordpress structure is soooooo much easier and faster.
frédéric Gaulbaire
ParticipantHello,
Same issue with hierarchical pages, only solution was not to use metabox to do it and handle my pages hierarchical structure using the post type type SLUG as a repertory name, Prepended permalink structure and Enabling request the post via URL. In that case the rewrite rule works without getting 404 errors for pages that were already fine in this repertory before using metabox for other pages. Trying anything else either makes pages not built with metabox go in 404 or new pages built with metabox go on 404. No way to get both running fine before, now it is ok but required couple of days to get right.November 4, 2023 at 12:16 AM in reply to: ✅Fatal error: Uncaught Error: Class 'MBBParser\Arr' not found #43736frédéric Gaulbaire
ParticipantHello,
Same issue but only when adding a 'Single Image' type in a fieldfrédéric Gaulbaire
ParticipantHello, and how about a way to use validation callback function to do so? I did not figure out a simple way to implement any kind of validation for images (mostyl sizes of course...). Do I havee to wait the ile is loaded and use validation when the whole metabox is saved to database? Not really nice for user to wait final saving to say "hey sorry your image is not right! But I could not tell you before you saved your whole page..."
frédéric Gaulbaire
ParticipantNice to see that in 2023 nobody answered this! I am looking for the same thing and trying to use the validation function that should be (maybe) used to do so but nothing makes it even say where is the data because I think it has not even started being loaded. So I guess validation for image is just not doing any good
-
AuthorPosts