I shouldn't get a WSOD upon install.

I had not added the fields to a message type

drush cron
Drupal\Core\Entity\Query\QueryException: Invalid specifier
'field_send_state' in Drupal\Core\Entity\Query\Sql\Tables->addField()
(line 289 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).

Comments

SocialNicheGuru created an issue. See original summary.

socialnicheguru’s picture

Project: Scheduled Message Module » SMS Framework
Version: 8.x-1.x-dev » 8.x-1.1-beta1
Component: Code » Documentation

deleted - wrong issue queue

socialnicheguru’s picture

Project: SMS Framework » Scheduled Message Module
Version: 8.x-1.1-beta1 » 8.x-1.x-dev
Issue summary: View changes
socialnicheguru’s picture

Title: Drupal\Core\Entity\Query\QueryException: Invalid specifier 'field_send_state' in Drupal\Core\Entity\Query\Sql\Tables->addField() (line 289 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php). » Patch 2893747 causes Drupal\Core\Entity\Query\QueryException: Invalid specifier 'field_send_state' in Drupal\Core\Entity\Query\Sql\Tables->addField() (line 289 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).
Status: Active » Closed (works as designed)
socialnicheguru’s picture

Title: Patch 2893747 causes Drupal\Core\Entity\Query\QueryException: Invalid specifier 'field_send_state' in Drupal\Core\Entity\Query\Sql\Tables->addField() (line 289 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php). » Invalid specifier 'field_send_state' in Drupal\Core\Entity\Query\Sql\Tables->addField() (line 289 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).
Status: Closed (works as designed) » Active

After more investigating, the patch I referred to only changes the position of the error.

Without the patch on a php7.1 ubuntu machine I get:

Drush cron

Drupal\Core\Entity\Query\QueryException: Invalid specifier 'field_send_state' in [error]
Drupal\Core\Entity\Query\Sql\Tables->addField() (line 300 of
drupal-8.4.3/html/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).

socialnicheguru’s picture

Create a default message type or create a module scheduled_message_default with the default message type and add in the fields that are in the readme

freelock’s picture

Status: Active » Closed (outdated)

Code is entirely refactored, this is no longer an issue.