"Undefined index: pb_cover_image " error shows in some catalog dashboards


#1

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…


#2

Thanks. Fixed.

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


#3

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