- 🇬🇧United Kingdom robcarr Perthshire, Scotland
I'm seeing the problem on PHP8.1 - patch works (which is in dev release), but still isn't in formal release of OG
It is possible that $item = menu_get_item();
returns false when no object can be loaded in _menu_translate
.
Therefore if (strpos($item['path'], $path) === 0) {
will throw a notice when running on php 7.4
"Notice: Trying to access array offset on value of type bool in og_context_determine_context() (regel 427 van /var/www/web/sites/all/modules/contrib/og/og_context/og_context.module)."
Fixed
2.0
og-context
The issue particularly affects sites running on PHP version 7.4.0 or later.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I'm seeing the problem on PHP8.1 - patch works (which is in dev release), but still isn't in formal release of OG