• Resolved jake79

    (@jake79)


    Hi,

    I logged into my site today and this warning popped up?

    Warning: AIOSEO has detected the use of filters that have been deprecated on your site. These filters may be in use by another plugin or your theme. If that is the case, these filters most likely will not work with this plugin. Please check for an update immediately or contact our support for more information.
    aioseop_description
    aioseop_keywords
    aioseop_title

    Please don’t tell me to just change the hooks like you have with others.

    You need to explain how to access the hooks? No point telling us to change them if we dont know where they are. Not all of us are code monekys!

    Cheers

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @jake79,

    These are the new filter hooks –

    aioseo_title
    aioseo_description
    aioseo_keywords

    You’re probably hooking into them in your theme’s functions.php file, so you can probably use the Theme Editor in WordPress to access that file and change the names.

    – Arnaud

    Thread Starter jake79

    (@jake79)

    Hi, thanks for getting back to me.

    Nope theres nothing in the themes function php to change?Below is everything thats in there.

    <?php
    // Prevent file from being loaded directly
    if ( ! defined( ‘ABSPATH’ ) ) {
    die( ‘-1’ );
    }

    /**
    * Extra Theme
    *
    * functions.php
    *
    * Load & setup theme files/functions
    */

    define( ‘EXTRA_LAYOUT_POST_TYPE’, ‘layout’ );
    define( ‘EXTRA_PROJECT_POST_TYPE’, ‘project’ );
    define( ‘EXTRA_PROJECT_CATEGORY_TAX’, ‘project_category’ );
    define( ‘EXTRA_PROJECT_TAG_TAX’, ‘project_tag’ );
    define( ‘EXTRA_RATING_COMMENT_TYPE’, ‘rating’ );

    $et_template_directory = get_template_directory();

    // Load Framework
    require $et_template_directory . ‘/framework/functions.php’;

    // Load theme core functions
    require $et_template_directory . ‘/includes/core.php’;
    require $et_template_directory . ‘/includes/plugins-woocommerce-support.php’;
    require $et_template_directory . ‘/includes/plugins-seo-support.php’;
    require $et_template_directory . ‘/includes/plugins-eventon-support.php’;
    require $et_template_directory . ‘/includes/plugins-lifterlms-support.php’;
    require $et_template_directory . ‘/includes/activation.php’;
    require $et_template_directory . ‘/includes/customizer.php’;
    require $et_template_directory . ‘/includes/builder-integrations.php’;
    require $et_template_directory . ‘/includes/block-editor-integration.php’;
    require $et_template_directory . ‘/includes/layouts.php’;
    require $et_template_directory . ‘/includes/template-tags.php’;
    require $et_template_directory . ‘/includes/ratings.php’;
    require $et_template_directory . ‘/includes/projects.php’;
    require $et_template_directory . ‘/includes/widgets.php’;
    require $et_template_directory . ‘/includes/et-social-share.php’;
    require $et_template_directory . ‘/includes/theme-builder.php’;

    function load_extra_admin() {
    // Load admin only resources
    if ( is_admin() ) {
    $et_template_directory = get_template_directory();

    require $et_template_directory . ‘/includes/admin/admin.php’;
    require $et_template_directory . ‘/includes/admin/category.php’;
    }
    }
    // Load admin files after extra_setup_builder at init hook with 0 priority, to make builder core functions available in admin functions.
    add_action( ‘init’, ‘load_extra_admin’, 10 );

    /**
    * Extra Support Center
    *
    * @since ??
    */
    function et_add_extra_support_center() {
    $support_center = new ET_Core_SupportCenter( ‘extra_theme’ );
    $support_center->init();
    }
    add_action( ‘init’, ‘et_add_extra_support_center’ );

    if ( defined( ‘BSF_AIOSRS_PRO_VER’ ) && class_exists( ‘BSF_AIOSRS_Pro_Markup’ ) ) {
    $instance = BSF_AIOSRS_Pro_Markup::get_instance();
    remove_filter( ‘the_content’, array( $instance, ‘rating_markup’ ) );

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @jake79,

    Do you remember ever adding these hooks yourself? If not, then it might be your theme or one of your plugins that is hooking into them.

    I’d recommend that you temporarily switch to another theme and deactivate your other plugins (and reactivate them one by one) to see which one is. The notification should disappear/reappear if the theme/plugin is deactivated/reactivated.

    Once we figure out what’s causing it, we’ll reach out to the developer of the theme/plugin and tell them how they can update it.

    – Arnaud

    Thread Starter jake79

    (@jake79)

    Damn I dismissed the notification earlier because it was annoying me, oops

    So how will be able to eliminate?

    Thanks

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hmm, good question. The easiest way to go about this would be if you have access to your site’s database. If you do, then I’d recommend you to simply go to the aioseo_notifications table and delete the record where the name column is set to “deprecated-filters”.

    Let me know if that works! If that’s too technical, feel free to let me know and I’ll post some different instructions.

    – Arnaud

    Thread Starter jake79

    (@jake79)

    ok I managed to get the notification back up, and after eliminating process, it’s the theme!

    My theme is the Divi/Extra by Elegant themes

    One of the most popular themes out there seems weird you guys didn’t think to make your plugin compatible with it.

    lets hope you can get hold of them and sort the issue sooner rather than later.

    Thanks,

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @jake79,

    Thanks for that, I’m glad you were able to track that down.

    I’ve just reached out to Elegant Themes so that we can work together on getting this resolved. They’ll have to make the changes on their end.

    – Arnaud

    Thread Starter jake79

    (@jake79)

    Hi Again,

    This issue still hasnt been resolved? Are you sure you said to Elegant Themes that this problem is with their Extra theme?

    Thanks

    Plugin Support Steve M

    (@wpsmort)

    @jake79 Yes, we’re working with Elegant themes to make sure that they update their code to use our latest filters.

    Thread Starter jake79

    (@jake79)

    This is starting to turn into a joke!

    Divi has done two theme updates since we last spoke and they haven’t sorted a thin.

    Are you sure you even spoke to them?

    But we worth reminding them again don’t you think! This has gone on too long. Please mention their Extra theme if you contact them again.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    @jake79 I reached out to them personally and even sent them some instructions on how they can fix it. They said they’re looking into it. Unfortunately the ball is in their court at this point.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Deprecated Filters Detected’ is closed to new replies.