Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What add-ons are creating messages in ExpressionEngine Dev Log?

Is there a way to know which add-ons are creating messages in the Developer Log in the EE control panel or is it basically a process of elimination?

Example messages:

  1. A third-party add-on is calling $this->load->library('security'), which is deprecated as the CI_Security class has been moved to Core, so it is always loaded.

  2. The system has detected an add-on that is using outdated code that may stop working or cause issues with the system. Deprecated function login_form() called in on line 0.

like image 697
Tad Ward Avatar asked Nov 05 '12 18:11

Tad Ward


1 Answers

  1. This message will likely be removed in a future release. It's causing too much confusion than help and isn't entirely necessary. Yes it would be helpful for the developer log to let you know which addon is causing the problem, but the logistics of parsing backtraces to find that information proves to be difficult. Which brings us on to message #2:

  2. As GDmac said, it's best to search your project for any calls to login_form() in the CP controller. Normally a file and line number would be provided in this kind of message, but as I said, parsing backtrace info doesn't always work.

We'll continue to try to make this better. The deprecation warnings have been working great for the most part, but occasionally messages like these pop up it can be difficult to know what to do about them.

like image 181
Kevin Cupp Avatar answered Oct 05 '22 19:10

Kevin Cupp