Custom Fields
Re-Envisioned
Support General Error Occured while rendering Shortcode / Internal Server Error 500

  • Creator
    Topic
  • #27035
    Resolved Thibaut
    Participant

    Hello,

    When I insert the basic short code for edit profile, I got this error.

    This does not happen for other short codes.

    Is there anyway you can support (I am using Oxygen by the way).

    Thank you

    Thibaut

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #27037
    Thibaut
    Participant

    please see the below error log file

    #27038
    Thibaut
    Participant

    [07-Apr-2021 22:22:39 UTC] PHP Warning: Creating default object from empty value in /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Shortcodes/Info.php on line 62
    [07-Apr-2021 22:22:39 UTC] PHP Fatal error: Uncaught Error: Call to undefined method stdClass::enqueue() in /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Forms/Base.php:64
    Stack trace:
    #0 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Forms/Info.php(43): MBUP\Forms\Base->render()
    #1 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Shortcodes/Base.php(42): MBUP\Forms\Info->render()
    #2 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-includes/shortcodes.php(343): MBUP\Shortcodes\Base->shortcode()
    #3 [internal function]: do_shortcode_tag()
    #4 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-includes/shortcodes.php(218): preg_replace_callback()
    #5 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/oxygen/component-framework/components/layouts/shortcode.php(95): do_shortcode()
    #6 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-includes/template-loader.php(106): inclu in /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Forms/Base.php on line 64
    [07-Apr-2021 22:22:49 UTC] PHP Warning: Creating default object from empty value in /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Shortcodes/Info.php on line 62
    [07-Apr-2021 22:22:49 UTC] PHP Fatal error: Uncaught Error: Call to undefined method stdClass::enqueue() in /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Forms/Base.php:64
    Stack trace:
    #0 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Forms/Info.php(43): MBUP\Forms\Base->render()
    #1 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Shortcodes/Base.php(42): MBUP\Forms\Info->render()
    #2 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-includes/shortcodes.php(343): MBUP\Shortcodes\Base->shortcode()
    #3 [internal function]: do_shortcode_tag()
    #4 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-includes/shortcodes.php(218): preg_replace_callback()
    #5 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(54): do_shortcode()
    #6 /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-includes/shortcodes.php(343): CT_S in /srv/data/web/vhosts/bibinoblog.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Forms/Base.php on line 64

    #27044
    Long Nguyen
    Moderator

    Hi,

    Please add the available meta box ID to the id attribute of the shortcode user profile. If you are using the Builder to create the meta box, please edit it and get the Field Groups ID, screenshot https://share.getcloudapp.com/5zuB1jq8.

    The shortcode should be:

    [ mb_user_profile_info id="post-meta" submit_button="Submit" confirmation="Your information has been successfully submitted. Thank you." ]
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.