Title: Fatal Error on Saving
Last modified: January 22, 2026

---

# Fatal Error on Saving

 *  [8persap](https://wordpress.org/support/users/8persap/)
 * (@8persap)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-on-saving/)
 * Hi. I’m getting this fatal error when saving a Book Shelf:
 * Hi. I’m getting this fatal error when saving a Book Shelf:
 * When seeking help with this issue, you may be asked for some of the following
   information:
   WordPress version 6.9Active theme: Twenty Twenty-Five (version 1.4)
   Current plugin: Library Bookshelves (version 5.11)PHP version 8.3.28 Error Details
 * An error of type E_ERROR was caused in line 1393 of the file /home/growwthuk/
   sandbox.growwth.uk/wp-content/plugins/library-bookshelves/functions.php. Error
   message: Uncaught TypeError: explode(): Argument #2 ($string) must be of type
   string, array given in /home/growwthuk/sandbox.growwth.uk/wp-content/plugins/
   library-bookshelves/functions.php:1393
   Stack trace: 0 /home/growwthuk/sandbox.
   growwth.uk/wp-content/plugins/library-bookshelves/functions.php(1393): explode()
   1 /home/growwthuk/sandbox.growwth.uk/wp-content/plugins/library-bookshelves/class-
   bookshelves-post-type.php(282): lbs_get_items_from_api() 2 /home/growwthuk/sandbox.
   growwth.uk/wp-includes/class-wp-hook.php(343): Bookshelves->save_bookshelf() 
   3 /home/growwthuk/sandbox.growwth.uk/wp-includes/class-wp-hook.php(365): WP_Hook-
   >apply_filters() 4 /home/growwthuk/sandbox.growwth.uk/wp-includes/plugin.php(
   522): WP_Hook->do_action() 5 /home/growwthuk/sandbox.growwth.uk/wp-includes/post.
   php(5183): do_action() 6 /home/growwthuk/sandbox.growwth.uk/wp-includes/post.
   php(5296): wp_insert_post() 7 /home/growwthuk/sandbox.growwth.uk/wp-admin/includes/
   post.php(453): wp_update_post() 8 /home/growwthuk/sandbox.growwth.uk/wp-admin/
   post.php(227): edit_post() 9 {main} thrown

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [photonicgnostic](https://wordpress.org/support/users/photonicgnostic/)
 * (@photonicgnostic)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-on-saving/#post-18795526)
 * Could you share the Request URL you entered for that Bookshelf?
 *  Thread Starter [8persap](https://wordpress.org/support/users/8persap/)
 * (@8persap)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-on-saving/#post-18795948)
 * Thanks for the quick reply. 
   [https://portsmouth.spydus.co.uk/api/swagger/archives/swagger.json?urls.primaryName=Spydus+Archives+API](https://portsmouth.spydus.co.uk/api/swagger/archives/swagger.json?urls.primaryName=Spydus+Archives+API)
   I’ve tried a few different ones from here (there’s a drop down top right) but
   the same thing happened with each. Let me know if you need anything else. Thanks.
 *  Plugin Author [photonicgnostic](https://wordpress.org/support/users/photonicgnostic/)
 * (@photonicgnostic)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-on-saving/#post-18796078)
 * At the moment the plugin does not support the Civica API, but I’m trying to work
   with Civica to implement this feature.
 *  Thread Starter [8persap](https://wordpress.org/support/users/8persap/)
 * (@8persap)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-on-saving/#post-18797989)
 * thanks for the reply. It’s Spydus. I mentions on the WordPress page that is an
   option?
 *  Plugin Author [photonicgnostic](https://wordpress.org/support/users/photonicgnostic/)
 * (@photonicgnostic)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-on-saving/#post-18798390)
 * At the moment you can select Spydus in the plugin settings and manually enter
   ISBNs into a Bookshelf post.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-on-saving%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/library-bookshelves/assets/icon-256x256.png?rev=1720814)
 * [Library Bookshelves](https://wordpress.org/plugins/library-bookshelves/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/library-bookshelves/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/library-bookshelves/)
 * [Active Topics](https://wordpress.org/support/plugin/library-bookshelves/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/library-bookshelves/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/library-bookshelves/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 5 replies
 * 2 participants
 * Last reply from: [photonicgnostic](https://wordpress.org/support/users/photonicgnostic/)
 * Last activity: [4 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-on-saving/#post-18798390)
 * Status: not resolved