• Resolved joew365

    (@joew365)


    I had to roll back to 3.25.3 du to the following error after update…

    2024-10-08 22:04:45.488262 [NOTICE] [4045329] [162.158.120.242:41588:HTTP2-43#playagolf.se] [STDERR] PHP Fatal error: Uncaught TypeError: SlimSEO\MetaTags\Helper::render(): Argument #1 ($text) must be of type string, null given, called in /var/www/playagolf.se/htdocs/wp-content/plugins/slim-seo/src/MetaTags/Title.php on line 37 and defined in /var/www/playagolf.se/htdocs/wp-content/plugins/slim-seo/src/MetaTags/Helper.php:101 Stack trace: #0 /var/www/playagolf.se/htdocs/wp-content/plugins/slim-seo/src/MetaTags/Title.php(37): SlimSEO\MetaTags\Helper::render() #1 /var/www/playagolf.se/htdocs/wp-includes/class-wp-hook.php(324): SlimSEO\MetaTags\Title->filter_title() #2 /var/www/playagolf.se/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /var/www/playagolf.se/htdocs/wp-includes/general-template.php(1188): apply_filters() #4 /var/www/playagolf.se/htdocs/wp-includes/general-template.php(1312): wp_get_document_title() #5 /var/www/playagolf.se/htdocs/wp-includes/class-wp-hook.php(324): _wp_render_title_tag() #6 /var/www/playagolf.se/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /var/www/playagolf.se/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /var/www/playagolf.se/htdocs/wp-includes/general-template.php(3065): do_action() #9 /var/www/playagolf.se/htdocs/wp-content/plugins/oxygen/component-framework/oxygen-main-template.php(10): wp_head() #10 /var/www/playagolf.se/htdocs/wp-includes/template-loader.php(106): include(‘…’) #11 /var/www/playagolf.se/htdocs/wp-blog-header.php(19): require_once(‘…’) #12 /var/www/playagolf.se/htdocs/index.php(17): require(‘…’) #13 {main} thrown in /var/www/playagolf.se/htdocs/wp-content/plugins/slim-seo/src/MetaTags/Helper.php on line 101

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @joew365 ,

    Are you using Oxygen builder? Do you set any custom title in the page? Or just use the plugin default?

    Thread Starter joew365

    (@joew365)

    Yes, thank you, I am using Oxygen Builder and it had the default SEO title set in the Slim Seo plugin.

    • This reply was modified 1 month, 2 weeks ago by joew365.
    • This reply was modified 1 month, 2 weeks ago by joew365.
    • This reply was modified 1 month, 2 weeks ago by joew365.
    Plugin Author Anh Tran

    (@rilwis)

    May I know how do you setup the page? If possible, can you send me more details via the live chat on our website?

    Thread Starter joew365

    (@joew365)

    I can give you access with an admin account if you give me an email to send it to?

    Plugin Author Anh Tran

    (@rilwis)

    Please send to [email protected]. Thanks.

    Version 4 causes 500 errors on my site. I had to roll back to version 3.25.3.

    Plugin Author Anh Tran

    (@rilwis)

    After talking with @joew365, I found the problem. It’s actually an incorrect use of the slim_seo_meta_title filter on his site. There is a custom script (in Advanced Scripts) that set custom title for the site. The problem is that in some cases, the code doesn’t return anything, which is wrong. In the recent version of Slim SEO, we strictly check the return type, and this fails.

    I’ve fixed the script on his site and also added a safe-check in Slim SEO to prevent this issue happen again in the future.

    Plugin Author Anh Tran

    (@rilwis)

    Hi @paul-fleury,

    Can you please open a new topic with more details on the issue? Please also enable the debug mode and let me know the error message.

    Thread Starter joew365

    (@joew365)

    Thank you Anh Tran (@rilwis) for you quick help and providing a fix although the problem was self-inflicted ????

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