php drupal-check.phar modules/contrib/bootstrap_toggle/
 3/3 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ------------------------------------------------ 
  Line   bootstrap_toggle.install                        
 ------ ------------------------------------------------ 
  30     Call to deprecated method l() of class Drupal.  
 ------ ------------------------------------------------ 

                                                                                                                        
 [ERROR] Found 1 error

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new776 bytes

Here's the patch, please review.

  • JordiK committed 89bffb6 on 8.x-1.x authored by Sergiu Stici
    Issue #3080759 by Sergiu Stici, mahtab_alam, JordiK: Deprecated Code...
jordik’s picture

Status: Needs review » Fixed

jordik’s picture

StatusFileSize
new777 bytes

Getting the following error when accessing the Status Report page:
Warning: htmlspecialchars() expects parameter 1 to be string, object given in Drupal\Component\Utility\Html::escape() (line 424 of core\lib\Drupal\Component\Utility\Html.php).
The link needs to be converted to a string.

  • JordiK committed 3d30ede on 8.x-1.x
    Issue #3080759 by Sergiu Stici, JordiK, mahtab_alam: Deprecated Code...

  • JordiK committed b2ebc37 on 8.x-1.x
    Issue #3080759 by Sergiu Stici, JordiK, mahtab_alam: Deprecated Code...

  • JordiK committed 4c6cedb on 8.x-1.x
    Issue #3080759 by Sergiu Stici, JordiK, mahtab_alam: Deprecated Code...

Status: Fixed » Closed (fixed)

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