Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 3,959 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    The problem is that Meta Box AIO loads Meta Box at init hook (with priority -5). If you put the snippet to define rwmb_meta function in your theme's functions.php, then it will load **before**, which defines an empty rwmb_meta function.

    This method was usually used for themes that are sold like on ThemeForest, to prevent errors of undefined function rwmb_meta when they haven't installed Meta Box yet.

    In your case, I'd recommend removing that snippet, and it will work fine.

    Anh TranAnh Tran
    Keymaster

    Dear Prabakaran,

    We have fixed since v1.6.21. If you use conditional logic above that version, this issue should be resolved. Cheers!

    in reply to: Critical error on website #47485
    Anh TranAnh Tran
    Keymaster

    Hi, I have fixed the issue, you'll get an update shortly.

    Anh TranAnh Tran
    Keymaster

    Dear Nicholas,

    Since we introduced clone empty start feature, we need somewhere to store the template for cloneable fields, thats why we put the first empty element in an array for the template and have rwmb_cleanup to instruct the data parser to remove the template from actual data, in this case data.paypal[0].

    Every plugin that have this feature does the same somehow, ACF puts the template in the end of array.

    Cheers!

    in reply to: ✅comparison function is deprecated #47293
    Anh TranAnh Tran
    Keymaster

    Dear Tobias,

    I can see you are returning boolean from this expression

    
    sort((a, b) => a.date_nextmatch_erste.timestamp > b.date_nextmatch_erste.timestamp)
    

    Since PHP 8 requires returning numeric value instead, you will need to return -1, 0, 1 respective to the sort data. You can use the spaceship operator like so:

    
    sort((a, b) => a.date_nextmatch_erste.timestamp <=> b.date_nextmatch_erste.timestamp)
    

    Let me know if the issue is resolved.

    in reply to: ✅Metabox - SearchWP 1.1.0 $beta is deprecated #47286
    Anh TranAnh Tran
    Keymaster

    Dear Tobias,

    Sorry to hear that, however, the SearchWP Meta Box Integration plugin is maintained by SearchWP team, could you please ask them to fix it?

    If you have any issue, please let me know.

    Cheers!

    in reply to: ✅comparison function is deprecated #47285
    Anh TranAnh Tran
    Keymaster

    Dear Tobias,

    I have checked further and see that the call stack ultimately call uasort() function, therefore, the caller should sastifie the uasort(), meaning the 2nd parameter should be numeric value.

    However, since you are using Bricks, it could be from there. As currently we don't have full context right now, can you please send me your input data like field you are using and settings you have saved so I can replicate and fix it if we could do in our end?

    Cheers!

    in reply to: Can't type anymore in the editor after pasting code #47284
    Anh TranAnh Tran
    Keymaster

    Dear Michael,

    I have fixed the issue, will release soon!

    Cheers!

    in reply to: ✅AIO 1.31.0 Not Saving Group Fields via API #47283
    Anh TranAnh Tran
    Keymaster

    Dear Cameron,

    I have checked MB Rest API and found no issues, please make sure you have set 'clone' => true to **HighlightsGroup** field. Here is the meta box that have similar structure with yours.

    
    add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) {
        $meta_boxes[] = [
            'title' => 'Test',
            'fields' => [
                [
                    'name' => 'HighlightsGroup',
                    'id'   => 'HighlightsGroup',
                    'type' => 'group',
                    'clone' => true,
                    'fields' => [
                        [
                           'name' => 'highlight',
                           'id'   => 'highlight',
                           'type' => 'text',
                        ],
                    ]
                ],
            ],
        ];
        return $meta_boxes;
    } );
    

    Since your **HighlightsGroup** field expects an array, you have to set clone => true.

    Otherwise, if you don't want cloneable group, here is the correct json format:

    
    {
        "meta_box": {
            "HighlightsGroup": {
                "highlight": "This is another test"
            }
        }
    }
    

    Cheers!

    in reply to: ✅Model Search with Parent Permission Error #47282
    Anh TranAnh Tran
    Keymaster

    Dear Johannes,

    I have fixed the issue, you will get an update soon.

    Cheers!

    in reply to: ✅comparison function is deprecated #47281
    Anh TranAnh Tran
    Keymaster

    Dear Tobias,

    Thanks for your information, I have added into a backlog and gonna fix it as soon as I can.

    Cheers!

    in reply to: ✅Background image doesn't render in Gutenberg #47196
    Anh TranAnh Tran
    Keymaster

    Dear metafan,

    I have check and confirmed its our bug when transforming html attribute to jsx, the background-image is quite special since this may contains https:// so there is two colons inside the string, we splited wrong position.

    I have fixed it and you'll get an update soon.

    Cheers!

    in reply to: ✅Issues with Geocoding address field + map field in groups #47176
    Anh TranAnh Tran
    Keymaster

    Hi, do you use Google Maps instead of OSM? If so, you can replace map.js with this file:

    https://github.com/wpmetabox/meta-box/blob/a7130ba7e6fe8ab19d1ea96592a6268ece03a06e/js/map.js

    Btw, it will be merged to the meta box soon. Cheers!

    in reply to: ✅Issues with Geocoding address field + map field in groups #47150
    Anh TranAnh Tran
    Keymaster
    in reply to: ✅Issues with Geocoding address field + map field in groups #47149
    Anh TranAnh Tran
    Keymaster

    Hi @ambrdigital,

    I have created a PR for this, while waiting for this to be fully tested and approved, can you please try to replace this osm.js inside your project?

    Cheers

Viewing 15 posts - 16 through 30 (of 3,959 total)