Support Forum » User Profile

Forum Replies Created

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: ✅All custom field definitions disappeared #41118
    m.stefano@digitaldomain.it[email protected]
    Participant

    Operations and tests done
    First part
    All PTs and CFs cancelled
    uninstalled Metabox plugins
    Checked in FTP if there were spurious folders or files
    restarted the server

    second part
    Metabox plug-ins re-installed
    imported PT and CF definitions

    nothing to do, everything as before...

    So I did something that I should have done immediately, install a version of Meta Box AIO earlier than 1.19.1 luckily I had an old version of AIO 1.16.4 which once replaced the current one solved the situation.

    The really strange thing is that I did a test by importing all PT and CF on a different installation of a machine that I use for tests and experiments and there with Meta Box AIO 1.19.1 installed everything works as I expect.

    It seems clear to me that the problem at this point lies in the AIO module and how it now deals with field definitions.

    If it can be useful, I could create an admin account on this installation to debug, in the meantime I've done a backup, so it can be manipulated at will.

    in reply to: ✅All custom field definitions disappeared #41109
    m.stefano@digitaldomain.it[email protected]
    Participant
    in reply to: ✅All custom field definitions disappeared #41108
    m.stefano@digitaldomain.it[email protected]
    Participant

    Technically everything works, queries and rendering in the front end work fine.

    the list of custom fields, are shown, but can no longer be edited.

    in reply to: ✅All custom field definitions disappeared #41106
    m.stefano@digitaldomain.it[email protected]
    Participant

    If it helps, I exported all post type and custom fields definitions and re-imported on a different install and everything was fine.

    My test
    - deactivated all custom scripts (PHP, js, css)
    - disabled all add-ons
    - deleted all field groups
    - created a new field group and put some elements into that group (only standard values) updated/saved
    - reloaded field group edit page

    console

    Second test

    JSON Test

    {
        "post_type": "meta-box",
        "post_title": "text",
        "post_date": "2023-03-19 21:24:13",
        "post_status": "publish",
        "post_content": "",
        "settings": {
            "object_type": "post",
            "post_types": [
                "post"
            ],
            "context": "normal",
            "priority": "high",
            "style": "default",
            "tab_style": "",
            "tab_default_active": "",
            "custom_table": {
                "name": ""
            },
            "class": "",
            "prefix": "",
            "text_domain": "your-text-domain",
            "function_name": "your_prefix_function_name"
        },
        "fields": {
            "text_wgxd0oufs5": {
                "_id": "text_wgxd0oufs5",
                "name": "Text",
                "id": "text_wgxd0oufs5",
                "type": "text",
                "label_description": "",
                "desc": "",
                "std": "",
                "placeholder": "",
                "size": "",
                "prepend": "",
                "append": "",
                "datalist_choices": "",
                "max_clone": "",
                "add_button": "",
                "admin_columns": {
                    "position": {
                        "type": "after",
                        "column": "title"
                    },
                    "title": "",
                    "before": "",
                    "after": ""
                },
                "columns": 12,
                "tooltip": {
                    "icon": "",
                    "position": "top",
                    "content": ""
                },
                "before": "",
                "after": "",
                "class": "",
                "sanitize_callback": "",
                "save_field": true
            },
            "text_7pk0reznyap": {
                "_id": "text_7pk0reznyap",
                "name": "Text",
                "id": "text_7pk0reznyap",
                "type": "text",
                "label_description": "",
                "desc": "",
                "std": "",
                "placeholder": "",
                "size": "",
                "prepend": "",
                "append": "",
                "datalist_choices": "",
                "max_clone": "",
                "add_button": "",
                "admin_columns": {
                    "position": {
                        "type": "after",
                        "column": "title"
                    },
                    "title": "",
                    "before": "",
                    "after": ""
                },
                "columns": 12,
                "tooltip": {
                    "icon": "",
                    "position": "top",
                    "content": ""
                },
                "before": "",
                "after": "",
                "class": "",
                "sanitize_callback": "",
                "save_field": true
            },
            "radio_y0zgtle5tco": {
                "_id": "radio_y0zgtle5tco",
                "name": "Radio",
                "id": "radio_y0zgtle5tco",
                "type": "radio",
                "label_description": "",
                "desc": "",
                "options": "",
                "std": "",
                "max_clone": "",
                "add_button": "",
                "admin_columns": {
                    "position": {
                        "type": "after",
                        "column": "title"
                    },
                    "title": "",
                    "before": "",
                    "after": ""
                },
                "columns": 12,
                "tooltip": {
                    "icon": "",
                    "position": "top",
                    "content": ""
                },
                "before": "",
                "after": "",
                "class": "",
                "sanitize_callback": "",
                "save_field": true
            }
        },
        "data": [],
        "meta_box": {
            "title": "text",
            "id": "text",
            "text_domain": "your-text-domain",
            "function_name": "your_prefix_function_name",
            "fields": [
                {
                    "name": "Text",
                    "id": "text_wgxd0oufs5",
                    "type": "text"
                },
                {
                    "name": "Text",
                    "id": "text_7pk0reznyap",
                    "type": "text"
                },
                {
                    "name": "Radio",
                    "id": "radio_y0zgtle5tco",
                    "type": "radio",
                    "inline": false
                }
            ]
        }
    }
    m.stefano@digitaldomain.it[email protected]
    Participant

    some news?

Viewing 5 posts - 16 through 20 (of 20 total)