Thread Starter
Brisch
(@brisch)
This is line 913:
$output .= '<a href="' . $homeUrl . '/' . $slug['slug'] . '/">' . $post_type->labels->singular_name . '</a>';
Hi there @brisch,
I see that the warning is being reported from a file in your Fluida Plus theme.
From the warning message Trying to access array offset on value of type bool, it sounds like the code is trying to access an array value on a variable that’s type boolean, rather than an array. In the line of code you shared, the only part that seems related is the $slug['slug'] part.
It’s hard to say for sure, but it seems at that point in the code when loading the Subscription confirmation page, $slug is set to a boolean value, resulting in that warning being reported. I see the same thing on the Captcha page after submitting your subscription form as well. It’s likely since the MailPoet pages don’t actually have slugs, just URLs going through the mailpoet_router function like https://www.andersreisen.at/?mailpoet_page=subscriptions&mailpoet_router&endpoint=subscription...
That said, please note that it is just a warning message, so you could disable WP Debug to not display the message on your site’s frontend: https://wordpress.org/documentation/article/debugging-in-wordpress/
Alternatively, you could reach out to your theme developer to ask about having the code in the theme files updated to handle that.
I hope this helps! Please let me know if you have any questions.
Thread Starter
Brisch
(@brisch)
Thanks for your answer! Maybe I should use another theme.
Blessings, Brisch