I'm getting an error at:

    Notice: Undefined offset: 0 in _metatags_quick_path_based_page() (line 556 of /var/www/mysite.loc/htdocs/sites/all/modules/metatags_quick/metatags_quick.module).
    Notice: Undefined offset: 0 in _metatags_quick_path_based_page() (line 556 of /var/www/mysite.loc/htdocs/sites/all/modules/metatags_quick/metatags_quick.module).

The router_item[page_arguments] array looks like this, which is why it's erroring out:

...
[page_arguments] => Array
        (
            [profiles] => Array
                (
                    [0] => stdClass Object
                        (
                            [path] => boat-owner
                            [roles] => a:4:{i:4;s:1:"4";i:6;i:0;i:5;i:0;i:3;i:0;}
                            [misc] => a:7:{s:13:"fieldset_wrap";i:0;s:13:"custom_titles";i:1;s:11:"login_title";s:18:"Boat Owner Account";s:14:"register_title";s:18:"Boat Owner Sign Up";s:14:"password_title";s:24:"Boat Owner Lost Password";s:20:"confirmation_display";i:0;s:20:"confirmation_message";s:0:"";}
                            [status] => 1
                            [id] => 3
                            [label] => Boat Owner Profile
                            [type] => boat_owner
                        )

                )

        )
...

I don't have time to check now but can check later to see if this is a profile2 bug or a metatags_quick bug.

Comments

borntosucceed’s picture

Hi;
I am getting the same error only the line number is different (555). Have you been able to find a solution for this?

Thanks

astonvictor’s picture

Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.