Error Occured while rendering Shortcode / Internal Server Error 500
- This topic has 2 replies, 1 voice, and was last updated 4 years ago by
Thibaut.
-
AuthorPosts
-
April 8, 2021 at 4:57 AM #27035
Thibaut
ParticipantHello,
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
April 8, 2021 at 5:20 AM #27037Thibaut
Participantplease see the below error log file
April 8, 2021 at 5:23 AM #27038Thibaut
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 64April 8, 2021 at 9:53 AM #27044Long Nguyen
ModeratorHi,
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." ]
-
AuthorPosts
- You must be logged in to reply to this topic.