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

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…

Thanks. Fixed.

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

1 Like

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