Call to deprecated function node_type_get_types(): > src/Form/ContextlyImageAdminForm.php, src/Form/ContextlyTagsAdminForm.php
Call to deprecated function drupal_set_message() > contextly.module

CommentFileSizeAuthor
#4 contextly-3073611-1.patch3.46 KBjoy29
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joy29 created an issue. See original summary.

joy29’s picture

joy29’s picture

joy29’s picture

FileSize
3.46 KB
joy29’s picture

drupal 9 deprecated method remove....

joy29’s picture

Assigned: joy29 » Unassigned
Status: Active » Needs review
dj1999’s picture

I was tried to apply your patch but it is not applyable. Please do it again with the fresh code base.

git apply -v contextly-3073611-1_0.patch
Checking patch contextly.module...
error: while searching for:
 */
function _contextly_create_node_form_after_build(&$form, FormStateInterface $form_state) {
  if (!$form_state->isProgrammed() && !$form_state->isProcessingInput()) {
    drupal_set_message(t('Save the node to be able to manage the Contextly links.'), 'warning', FALSE);
  }

  return $form;

error: patch failed: contextly.module:184
error: contextly.module: patch does not apply

Thanks!

dj1999’s picture

Category: Bug report » Task
Status: Needs review » Needs work

  • dj1999 committed b704f03 on 8.x-2.x authored by joy29
    Issue #3073611 by joy29: Deprecated Method used
    
dj1999’s picture

Status: Needs work » Fixed
dj1999’s picture

Status: Fixed » Closed (fixed)