------ ------------------------------------------------------------------
  Line   includes\popup.api.inc
 ------ ------------------------------------------------------------------
  299    Call to deprecated function node_load():
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use
         \Drupal\node\Entity\Node::load().
  314    Call to deprecated function drupal_render():
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the
  351    Call to deprecated function drupal_render():
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the
  388    Call to deprecated function drupal_render():
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the
 ------ ------------------------------------------------------------------

 ------ -----------------------------------------------------------
  Line   includes\popup.util.inc
 ------ -----------------------------------------------------------
  17     Call to deprecated function drupal_realpath():
         in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\File\FileSystem::realpath().
 ------ -----------------------------------------------------------

 ------ -------------------------------------------------------------------------
  Line   modules\popup_filter\includes\popup_filter.admin.inc
 ------ -------------------------------------------------------------------------
  52     Call to deprecated function drupal_render():
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the
  211    Call to deprecated function db_query():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call query() on it. For example,
 ------ -------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------
  Line   modules\popup_filter\popup_filter.install
 ------ -------------------------------------------------------------------------
  7      Call to deprecated function db_query_range():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call queryRange() on it. For example,
  26     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  32     Call to deprecated function db_query():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call query() on it. For example,
  33     Call to deprecated function db_query():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call query() on it. For example,
 ------ -------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   modules\popup_ui\includes\popup_ui.admin.inc
 ------ ----------------------------------------------------------------------
  361    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  383    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  396    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  409    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------

 ------ -------------------------------------------------------------------------
  Line   modules\popup_ui\popup_ui.module
 ------ -------------------------------------------------------------------------
  26     Call to deprecated function db_select():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call select() on it. For example,
  34     Call to deprecated function db_update():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call update() on it. For example,
 ------ -------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------
  Line   popup_test\includes\popup_test.pages.inc
 ------ -------------------------------------------------------------------------
  126    Call to deprecated function db_query():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call query() on it. For example,
  127    Call to deprecated function db_query():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call query() on it. For example,
  169    Call to deprecated function db_query():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call query() on it. For example,
  170    Call to deprecated function db_query():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call query() on it. For example,
 ------ -------------------------------------------------------------------------


 [ERROR] Found 21 errors
CommentFileSizeAuthor
#5 3084134-5.patch7.06 KBSahana _N
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ilchovuchkov created an issue. See original summary.

vuil’s picture

Issue summary: View changes

There are enough issues that need to be fixed. I update the issue summary.

vuil’s picture

I add a parent issue of [D8 porting]: #2606030: [META] Port Popup to Drupal 9/10

Kristen Pol’s picture

Category: Plan » Task
Issue tags: -D9Readiness +Drupal 9 compatibility

Per a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.

Sahana _N’s picture

Status: Active » Needs review
FileSize
7.06 KB

removed deprecated methods please review the patch.

  • vuil committed cff7498 on 8.x-1.x authored by Sahana _N
    Issue #3084134 by Sahana _N, vuil: Test for Drupal 9 deprecations
    
vuil’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.