Custom Fields
Re-Envisioned
Support MB Views Internal Server Error 500 / shortcode in Oxygen builder.

  • Creator
    Topic
  • #19790
    Resolved JohnEriksson
    Participant

    It 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 90

    There has been a critical error on your website.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #19804
    Long Nguyen
    Moderator

    Hi 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.

    #19847
    JohnEriksson
    Participant

    Thank you. Ok, I will have a look tomorrow and let you know…

    #19855
    JohnEriksson
    Participant

    I made a screen cast, poor quality though… sorry…

    Made a test view
    added post title in h2 tag
    Saved it as – Custom

    Oxygen template for single post – custom post type: long-stay

    1. Adding the shortcode to the template throws an error 500.
    2. Saving the template throws an error 500
    3. Viewing the post after saving the template just shows a blank (white) page, nothing.
    4. deleting the shortcode from template and saved it again
    5. 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/3ab0dbb00c

    I 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 NVMe

    Thanks for looking into it…
    // John

    #19867
    Long Nguyen
    Moderator

    Hi,

    Please try to deactivate all plugins except Meta Box plugins and Oxygen, change the permalink structure to Post name then check the issue again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.