Grandt / PHPePub

PHP Classes for dynamically generating EPub files.
http://www.phpclasses.org/package/6115
241 stars 83 forks source link

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

Open bugoverfl0w opened 4 years ago

bugoverfl0w commented 4 years ago

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,