ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Somthing wrong here for admin support get_upload_preferences()

February 13, 2013 4:05am

Subscribe [2]
  • #1 / Feb 13, 2013 4:05am

    ahmad saad

    364 posts

    The system has detected an add-on that is using outdated code that may stop working or cause issues with the system. What does this mean?
    Deprecated function get_upload_preferences() called in /home/brains/public_html/dev/alo001/system/expressionengine/models/tools_model.php on line 522.
    Deprecated since 2.4. Use File_upload_preferences_model::get_file_upload_preferences() to support config variable overrides instead.

    this alert show for tools_model.php which is a part of EE core files, if the get_upload_preferences() is a deprecated function why the EE still used it in it’s files??!!

  • #2 / Feb 13, 2013 1:26pm

    Bhashkar Yadav

    727 posts

    Hi Ahmad,

    You are seeing this message within the developer log. It seems that you are using a third party add-on which is using get_upload_preferences method of tools_model which is deprecated since 2.4.

    This method is being moved within file_upload_preferences_model so third party add-on should use it.


    Are you using old version of Matrix or any other add-on related to file manager.
    Make sure that you are using the latest version of third party add-ons.


    Best Regards,

  • #3 / Feb 13, 2013 4:40pm

    ahmad saad

    364 posts

    thank’s for you replay Bhashkar,

    I use a grid_lite add-ons, I will try to install the last version.

    thank’s

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases