Internal Server Error 500 / shortcode in Oxygen builder.
- This topic has 4 replies, 2 voices, and was last updated 4 years, 10 months ago by
Long Nguyen.
-
AuthorPosts
-
May 25, 2020 at 3:21 PM #19790
JohnEriksson
ParticipantIt is a custom view shortcode.
Code:<h2> {{ post.title }} </h2>
AIO Version 1.11.8
I am just testing views and created the above simple template just to try it. But it just throws this error. Tested in 2 different sites. Same issue. Is it Oxygen incompatibility? Thank you. // John
WP debug:
Fatal error: Uncaught Error: Call to undefined method MB_Relationships_API::get_all_relationships_settings() in /var/www/testsite.playagolf.se/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Renderer.php:90 Stack trace: #0 /var/www/testsite.playagolf.se/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Renderer.php(39): MBViews\Renderer->get_relationship_data() #1 /var/www/testsite.playagolf.se/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Renderer.php(28): MBViews\Renderer->get_data() #2 /var/www/testsite.playagolf.se/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Shortcode.php(20): MBViews\Renderer->render() #3 /var/www/testsite.playagolf.se/htdocs/wp-includes/shortcodes.php(343): MBViews\Shortcode->render() #4 [internal function]: do_shortcode_tag() #5 /var/www/testsite.playagolf.se/htdocs/wp-includes/shortcodes.php(218): preg_replace_callback() #6 /var/www/testsite.playagolf.se/htdocs/wp-content/plugins/oxygen/component-framework/componen in /var/www/testsite.playagolf.se/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Renderer.php on line 90There has been a critical error on your website.
May 25, 2020 at 10:14 PM #19804Long Nguyen
ModeratorHi John,
Could you please take a screen record to replicate the issue? I'm using MB Views and Oxygen page builder but not experience any issue like that. Please see my screen record https://www.loom.com/share/ff766fc0042c4b1fad6623e6e760bddb.
May 27, 2020 at 4:47 AM #19847JohnEriksson
ParticipantThank you. Ok, I will have a look tomorrow and let you know...
May 27, 2020 at 7:00 PM #19855JohnEriksson
ParticipantI made a screen cast, poor quality though... sorry...
Made a test view
added post title in h2 tag
Saved it as - CustomOxygen template for single post - custom post type: long-stay
- Adding the shortcode to the template throws an error 500.
- Saving the template throws an error 500
- Viewing the post after saving the template just shows a blank (white) page, nothing.
- deleting the shortcode from template and saved it again
- Viewing the post - the template is working again and render the post normally.
Sites: testsite.playagolf.se and staging.dev.playagolf.se
Screencast
https://vimeo.com/423144913/3ab0dbb00cI use custom permalinks through Permalink Manager Pro and another custom plugin to rewrite archive Permalinks, could that be the problem?
Same error repeated on 2 different wp installs, both hosted with gridpane on Vultr HF VPS.
CPU: 2 vCore / RAM: 4096 MB / Storage: 128 GB NVMeThanks for looking into it...
// JohnMay 28, 2020 at 8:54 AM #19867Long Nguyen
ModeratorHi,
Please try to deactivate all plugins except Meta Box plugins and Oxygen, change the permalink structure to Post name then check the issue again.
-
AuthorPosts
- You must be logged in to reply to this topic.