Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • in reply to: Fatal Error with MB ver. 5.7.2 #42362
    AJ TatumAJ Tatum
    Participant

    I haven't tried it and not planning to at the moment as I don't have time right now to handle any "what if" scenarios LOL.

    AJ TatumAJ Tatum
    Participant

    Yea, it seems like Meta Box really dropped the ball on testing this version thoroughly.

    in reply to: Fatal Error with MB ver. 5.7.2 #42354
    AJ TatumAJ Tatum
    Participant

    Indeed it does. It seems that this version wasn't very well tested before being released. I simply reverted the upgrade as it would take me a long time to try and fix all the MB Views...

    in reply to: Fatal Error with MB ver. 5.7.2 #42350
    AJ TatumAJ Tatum
    Participant

    Oh, and for further information, those views have a type "Action" and hook into one of my themes action hooks.

    in reply to: Fatal Error with MB ver. 5.7.2 #42349
    AJ TatumAJ Tatum
    Participant

    I too got an error as soon as I upgraded to the latest version and luckily was able to revert with Updraft Plus. This is the error that get's generated in the WordPress log:

    [24-Jun-2023 13:14:31 UTC] PHP Fatal error:  Uncaught eLightUp\Twig\Error\SyntaxError: Unexpected character "#" in "jarvis-news-before-article-content" at line 30. in /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Lexer.php:363
    Stack trace:
    #0 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Lexer.php(290): eLightUp\Twig\Lexer->lexExpression()
    #1 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Lexer.php(184): eLightUp\Twig\Lexer->lexVar()
    #2 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Environment.php(469): eLightUp\Twig\Lexer->tokenize()
    #3 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Environment.php(516): eLightUp\Twig\Environment->tokenize()
    #4 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Environment.php(348): eLightUp\Twig\Environment->compileSource()
    #5 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Environment.php(309): eLightUp\Twig\Environment->loadTemplate()
    #6 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Environment.php(277): eLightUp\Twig\Environment->load()
    #7 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Renderer.php(72): eLightUp\Twig\Environment->render()
    #8 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-views/src/ActionLoader.php(55): MBViews\Renderer->render()
    #9 /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-views/src/ActionLoader.php(46): MBViews\ActionLoader->render_view()
    #10 /sites/ajtatumdigital.com/html/wp-includes/class-wp-hook.php(308): MBViews\ActionLoader->MBViews\{closure}()
    #11 /sites/ajtatumdigital.com/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #12 /sites/ajtatumdigital.com/html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #13 /sites/ajtatumdigital.com/html/wp-content/themes/kadence/template-parts/content/entry_header.php(29): do_action()
    #14 /sites/ajtatumdigital.com/html/wp-includes/template.php(785): require('...')
    #15 /sites/ajtatumdigital.com/html/wp-includes/template.php(718): load_template()
    #16 /sites/ajtatumdigital.com/html/wp-includes/general-template.php(204): locate_template()
    #17 /sites/ajtatumdigital.com/html/wp-content/themes/kadence/template-parts/content/single-entry.php(22): get_template_part()
    #18 /sites/ajtatumdigital.com/html/wp-includes/template.php(785): require('...')
    #19 /sites/ajtatumdigital.com/html/wp-includes/template.php(718): load_template()
    #20 /sites/ajtatumdigital.com/html/wp-includes/general-template.php(204): locate_template()
    #21 /sites/ajtatumdigital.com/html/wp-content/themes/kadence/inc/template-functions/single-functions.php(27): get_template_part()
    #22 /sites/ajtatumdigital.com/html/wp-includes/class-wp-hook.php(308): Kadence\single_content()
    #23 /sites/ajtatumdigital.com/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #24 /sites/ajtatumdigital.com/html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #25 /sites/ajtatumdigital.com/html/wp-content/themes/kadence/template-parts/content/single.php(34): do_action()
    #26 /sites/ajtatumdigital.com/html/wp-includes/template.php(785): require('...')
    #27 /sites/ajtatumdigital.com/html/wp-includes/template.php(718): load_template()
    #28 /sites/ajtatumdigital.com/html/wp-includes/general-template.php(204): locate_template()
    #29 /sites/ajtatumdigital.com/html/wp-content/themes/kadence/inc/template-functions/single-functions.php(20): get_template_part()
    #30 /sites/ajtatumdigital.com/html/wp-includes/class-wp-hook.php(308): Kadence\single_markup()
    #31 /sites/ajtatumdigital.com/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #32 /sites/ajtatumdigital.com/html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #33 /sites/ajtatumdigital.com/html/wp-content/themes/kadence/single.php(20): do_action()
    #34 /sites/ajtatumdigital.com/html/wp-includes/template-loader.php(106): include('...')
    #35 /sites/ajtatumdigital.com/html/wp-blog-header.php(19): require_once('...')
    #36 /sites/ajtatumdigital.com/html/index.php(18): require('...')
    #37 {main}
      thrown in /sites/ajtatumdigital.com/html/wp-content/plugins/meta-box-aio/vendor/elightup/twig/Twig/Lexer.php on line 363

    The same error is thrown for the view "novashare-before-content".

    For "jarvis-news-before-article-content"

    I have the following:

    {% set post_category = mb.get_the_terms(post.ID, 'article_category')|first %}
    {% set post_source = mb.get_the_terms(post.ID, 'article_source')|first %}
    
    <div class="entry-taxonomies">
    	<span class="category-links term-links category-style-pill">
    		<a href="https://ajtatumdigital.com/articles/category/{{ post_category.slug }}/" rel="category tag" title="{{ post_category.name }}" itemprop="articleSection">
    			<span class="jarvis-news-fa-dark-icon">
    				<i class="fa-duotone fa-tags fa-lg"></i>
    			</span>
    			 {{ post_category.name }}
    		</a>
    	</span>
    	<span class="category-links term-links category-style-pill">
    		<a href="https://ajtatumdigital.com/articles/source/{{ post_source.slug }}/" rel="category tag"	title="{{ post_source.name }}" itemprop="creditText">
    			<span class="jarvis-news-fa-dark-icon">
    				<i class="fa-duotone fa-browsers fa-lg"></i>
    			</span>
    			 {{ post_source.name }}
    		</a>
    	</span>
    </div>
    <aside class="ajtd-novashare">
    	{{ mb.do_shortcode('[novashare_inline_content]') }}
    </aside>

    And for "novashare-before-content" I have:

    </div>
    {% set post_contains_affiliate_links = post.contains_affiliate_links %}
    {% if post_contains_affiliate_links == 1 %}
    <aside id="disclaimer-text">
    	<p class="has-text-align-center"><strong>Affiliate Disclaimer:</strong> This site contains affiliate links. If you make a purchase through our site, we may earn a commission at no extra cost to you. <strong><a title="Disclaimer" href="https://ajtatumdigital.com/legal/disclaimer/" target="_blank" rel="noopener">Learn more.</a></strong></p>
    </aside>
    {% endif %}
    
    <aside class="ajtd-novashare">
    	{{ mb.do_shortcode('[novashare_inline_content]') }}
    </aside>

    Everything works fine with version 5.7.2, but as soon as I upgrade to 5.7.3, pretty much all of Metabox Views throw errors.

    in reply to: Advanced Location: Unable to get custom function to work #39881
    AJ TatumAJ Tatum
    Participant

    LOL, it wasn't until I posted this that I realized I made a stupid mistake and had the logic '$is_podcast = true' when it should have been ==. That fixed it.

    AJ TatumAJ Tatum
    Participant

    You pointed me in the right direction! For some reason, when I looked at the PHP code for Articles it looked much different than Podcast and other CPTs, so I removed properties that didn't exist in other CPTs and added properties that weren't in Articles. I updated it via the database as when I tried to change it from the editor, it wouldn't take effect. I don't know how but it had properties that were probably causing issues, most notably was this one:

    'permalink_epmask' => EP_PERMALINK

    Not sure how it got messed up, but all seems to be working now. I went into Rank Math and was successfully able to update the settings with Meta Box activated and no error occured.

    Thanks!

    AJ TatumAJ Tatum
    Participant

    Removed Firewall Restrictions but also created a WireGuard profile just in case and send it to you via contact form.

    AJ TatumAJ Tatum
    Participant

    I have some country restrictions and whatnot. Had the same issue with Rank Math. I will remove the restrictions, but it may be easier if you VPN in. I'll send you a WireGuard configuration via contact form in case removing the firewall rules don't work.

    AJ TatumAJ Tatum
    Participant

    This is Rank Math's response. Can you confirm? Does the latest version work with PHP 8?

    Hello,

    Looking at the error it seems that the Metabox plugin still is not fully compatible with PHP8 and higher.

    In this version of PHP, the mixed operands don’t throw a warning like they used to in PHP7.4 and as such plugin developers need to make sure this doesn’t happen with their plugins.

    What is rather strange is the fact that this is happening on a default WordPress class so it seems that the code from Metabox is triggering the following to be converted to a string: EP_PAGES and EP_PERMALINK.

    Those are called in a function that generates rewrite rules from a permalink structure so what you mention in the Metabox forums about the CPTs not being accessible as well seems to validate this information.

    Unfortunately, this seems a case of the compatibility with PHP8 failing in one of the Metabox plugins and they would need to update their code to make sure the rewrite rules don’t trigger this error.

    Don’t hesitate to get in touch if you have any other questions.

    AJ TatumAJ Tatum
    Participant

    I've gotta say... I honestly like Meta Box, but your support is an atrocious. Seriously, for a plugin priced at your price point it should be better, especially when it's completely breaking a website. I've dealt with the poor support and learned that I need to just figure it out on my own, but if the reason why it's not working is because of the version and I'm not able to take advantage of the current pricing, I'm definitely going to weigh other options because this is honestly a joke. I'm sorry.

    AJ TatumAJ Tatum
    Participant

    So, what's going on? I haven't heard anything and I have Rank Math looking into it as well and they're being much more responsive, despite them having a much less expensive plugin.

    AJ TatumAJ Tatum
    Participant

    Sent

    AJ TatumAJ Tatum
    Participant

    There's definitely a conflict between Meta Box and Rank Math. As soon as Meta Box is enabled, whenever I try to save any settings in Rank Math I get the error I posted above. So, I had to disable all of Meta Box.

    AJ TatumAJ Tatum
    Participant

    Ok, so I'm able to access a CPT such as https://ajtatumdigital.com/podcast/marketing/5-simple-activecampaign-tips/ but when I try to access https://ajtatumdigital.com/podcast/ I get a 404 error rather than the archives page. I have tried deactivating Permalink Manager Pro to see if that was a potential conflict, but it didn't make any difference. I am able to access https://ajtatumdigital.com/?post_type=podcast though and that should be the same page as https://ajtatumdigital.com/podcast/

Viewing 15 posts - 1 through 15 (of 23 total)