🇮🇳India @nitinpatil

Account created on 3 July 2023, over 1 year ago
#

Recent comments

🇮🇳India nitinpatil

I'm getting an error while using the VBO action to resubmit applications in my custom module (PHP 8.3, VBO 4.3.2).

Call to a member function isAllowed() on true in Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessor->process() (line 422 of /code/web/modules/contrib/views_bulk_operations/src/Service/ViewsBulkOperationsActionProcessor.php).

To resolve this issue, the following line in the code was replaced:
if ($accessResult->isAllowed() === FALSE) {

with:
// Only call isAllowed() if $accessResult is an instance of AccessResultInterface
if ($accessResult instanceof AccessResultInterface && $accessResult->isAllowed() === FALSE) {

The attached patch addresses this problem. It has been tested in my local environment, where the issue was reproduced, and confirmed to resolve the error without impacting existing functionality. Please review and test it further.

🇮🇳India nitinpatil

nitinpatil changed the visibility of the branch 3465256-google-tag-1.7 to hidden.

🇮🇳India nitinpatil

Yes, I had the same issue, but after updating the hostname value to www.googletagmanager.com under the advanced tab in the GTM settings, everything worked as expected.

Production build 0.71.5 2024