# "Undefined index: pb\_cover\_image " error shows in some catalog dashboards

**URL:** <https://pressbooks.community/t/undefined-index-pb-cover-image-error-shows-in-some-catalog-dashboards/890>\
**Category:** Developer Questions\
**Created:** [February 26, 2019, 4:24pm UTC](https://pressbooks.community/t/undefined-index-pb-cover-image-error-shows-in-some-catalog-dashboards/890 "2019-02-26T16:24:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rootl](https://pressbooks.community/user_avatar/pressbooks.community/rootl/32/77_2.png) [@rootl](https://pressbooks.community/u/rootl)\
**Post date:** [February 26, 2019, 4:24pm UTC](https://pressbooks.community/t/undefined-index-pb-cover-image-error-shows-in-some-catalog-dashboards/890/1 "2019-02-26T16:24:03Z")

</div>

Repeated error message on Catalog internal dashboard:

Notice: Undefined index: pb\_cover\_image in /var/www/html/milnepublishing.geneseo.edu/wp-content/plugins/pressbooks/inc/class-catalog.php on line 225 (sometimes it’s line 299)

Number of repeated error messages is different for each Pressbooks user;  
may be tied to which books user is assigned to..

 ![undefined-index-error](https://pressbooks.community/uploads/default/original/1X/e75bf13a50d4ae265c07038f4ca418dd24b60185.jpeg)

---

<div class="post-metadata">

**Author:** ![dac.chartrand](https://pressbooks.community/user_avatar/pressbooks.community/dac.chartrand/32/152_2.png) [@dac.chartrand](https://pressbooks.community/u/dac.chartrand)\
**Post date:** [February 26, 2019, 5:20pm UTC](https://pressbooks.community/t/undefined-index-pb-cover-image-error-shows-in-some-catalog-dashboards/890/2 "2019-02-26T17:20:28Z")

</div>

Thanks. Fixed.

> <https://github.com/pressbooks/pressbooks/pull/1614>

For next time, when it’s this code specific, I would appreciate an issue in GitHub instead of a forum post:

> **[pressbooks/pressbooks](https://github.com/pressbooks/pressbooks/issues)**
>
> Open publishing. Open web. Open source. Contribute to pressbooks/pressbooks development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![rootl](https://pressbooks.community/user_avatar/pressbooks.community/rootl/32/77_2.png) [@rootl](https://pressbooks.community/u/rootl)\
**Post date:** [February 26, 2019, 5:48pm UTC](https://pressbooks.community/t/undefined-index-pb-cover-image-error-shows-in-some-catalog-dashboards/890/3 "2019-02-26T17:48:12Z")

</div>

No problem! Sorry @dac.chartrand , will do this next time!

---

<div class="post-metadata">

**Author:** ![SteelWagstaff](https://pressbooks.community/user_avatar/pressbooks.community/steelwagstaff/32/1280_2.png) [@SteelWagstaff](https://pressbooks.community/u/SteelWagstaff)\
**Post date:** [September 30, 2025, 9:35pm UTC](https://pressbooks.community/t/undefined-index-pb-cover-image-error-shows-in-some-catalog-dashboards/890/4 "2025-09-30T21:35:55Z")

</div>

Closed on September 30, 2025, 9:35pm UTC


