Skip to content

Call to a member function addIndexPoint() on boolean at vendor/grandt/phpepub/src/PHPePub/Core/EPub.php:383 #54

@bugoverfl0w

Description

@bugoverfl0w

Hello team,

I got this error, how can I fix it :(?

when I check in line 383,
381: $ids = $this->findIdAttributes($chapterData);
382: foreach ($ids as $id) {
383: $item->addIndexPoint($id);
}

When i try dump $ids, normal got empty $ids, error show $ids has one element with string as value

Can you check it?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions