BCcampus / pressbooks-textbook

A plugin that extends Pressbooks for textbook authoring
GNU General Public License v2.0
25 stars 13 forks source link

Notice: Undefined index: paragraph_separation in .../wp-content/plugins/pressbooks/inc/modules/themeoptions/class-weboptions.php #185

Closed rootl closed 5 years ago

rootl commented 5 years ago

Description

Upon creation of a book, these errors appear the admin dashboard: Notice: Undefined index: paragraph_separation in /var/www/html/milnepublishing.geneseo.edu/wp-content/plugins/pressbooks/inc/modules/themeoptions/class-weboptions.php on line 507

Notice: Undefined index: paragraph_separation in /var/www/html/milnepublishing.geneseo.edu/wp-content/plugins/pressbooks/inc/modules/themeoptions/class-weboptions.php on line 518

Expected behaviour

Book creation with PB Textbooks active and no error messages.

Actual behaviour

Books successfully created, but with error messages

Steps to reproduce the problem

Turned off each plugin one by one before publishing test books in order to isolate the error. Error only occurs when PB Textbooks plugin is active.

System Information

rootl commented 5 years ago

Going to submit this to pressbooks/pressbooks .