Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No operator matches the given name and argument type #108

Open
johnreytanquinco opened this issue Jan 9, 2018 · 0 comments
Open

No operator matches the given name and argument type #108

johnreytanquinco opened this issue Jan 9, 2018 · 0 comments

Comments

@johnreytanquinco
Copy link

Web server: Apache/2.4.25 (Red Hat)
Database: PostgreSQL version 10.0
Drupal: version 8.4.2
Installed profile: OpenSocial social-8.x-1.7

Our team is working on making the message stack works in a project.
Once user is subscribe to a content and when view the user's message_subscribe_ui page on user/4/message-subscribe we are getting result The website encountered an unexpected error. with the error message below. We have already enabled flag on content to testing user's subscription.

Drupal\Core\Database\DatabaseExceptionWrapper: Exception in Subscribe node[subscribe_node]: SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: bigint = character varying LINE 4: ...g flagging_node_field_data ON node_field_data.nid = flagging... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.: SELECT node_field_data.created AS node_field_data_created, node_field_data.nid AS nid, flagging_node_field_data.id AS flagging_node_field_data_id FROM {node_field_data} node_field_data INNER JOIN {flagging} flagging_node_field_data ON node_field_data.nid = flagging_node_field_data.entity_id AND flagging_node_field_data.flag_id = :views_join_condition_0 WHERE ((flagging_node_field_data.uid = :flagging_uid )) AND (node_field_data.status = :db_condition_placeholder_1) ORDER BY node_field_data_created DESC NULLS LAST LIMIT 11 OFFSET 0; Array ( [:flagging_uid] => 4 [:db_condition_placeholder_1] => 1 [:views_join_condition_0] => subscribe_node ) in Drupal\views\Plugin\views\query\Sql->execute() (line 1489 of /opt/app-root/src/core/modules/views/src/Plugin/views/query/Sql.php).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant