Created on 17 April 2024, 10 months ago
Updated 4 September 2024, 6 months ago

Problem/Motivation

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal10.book' doesn't exist: SELECT "b".* FROM "book" "b" WHERE "b"."nid" IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4, :db_condition_placeholder_5, :db_condition_placeholder_6, :db_condition_placeholder_7, :db_condition_placeholder_8); Array ( [:db_condition_placeholder_0] => 4928 [:db_condition_placeholder_1] => 4933 [:db_condition_placeholder_2] => 4990 [:db_condition_placeholder_3] => 4954 [:db_condition_placeholder_4] => 5072 [:db_condition_placeholder_5] => 4980 [:db_condition_placeholder_6] => 5134 [:db_condition_placeholder_7] => 4991 [:db_condition_placeholder_8] => 4949 ) in main() (line 19 of index.php).

Other errors seen may look something like

Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 207 of core/lib/Drupal/Core/Routing/UrlGenerator.php).

and I also saw another even weirder error that made absolutely no sense.

Steps to reproduce

Scenario 1) Install module

Scenario 2) composer require drupal/book_pdf:'1.0.x-dev@dev';

Scenario 3) avoid scenario 2, avoid error do this instead:

composer remove drupal/book drupal/book_pdf;
composer require drupal/book_pdf:'1.0.1';
🐛 Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

🇮🇹Italy rmorelli

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @rmorelli
  • Status changed to Postponed: needs info 8 months ago
  • 🇺🇸United States smustgrave

    More information will be needed. Installing seems fine

  • 🇨🇦Canada joseph.olstad

    After installing drupal/book for Drupal 10.2.7 I get this error when viewing a book:

    Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 207 of core/lib/Drupal/Core/Routing/UrlGenerator.php).

  • Status changed to Active 7 months ago
  • Status changed to Postponed: needs info 6 months ago
  • 🇺🇸United States smustgrave

    1. this failing with 2.0.x?
    2. this failing without book_pdf?

  • 🇺🇸United States smustgrave

    Have a tagged release of 2.0.x out

    Not able to reproduce said issue

Production build 0.71.5 2024