Settings are not getting saved

#295268
Viewing 1 replies (of 1 total)
  • Azib Yaqoob
    Rank Math business

    Hello,

    Thanks for getting back to us.

    The memory is getting exhausted on your site in Titles & Meta Settings because there are many Product attributes on your site whose Archive is enabled.

    If you want to control the Product attributes SEO settings then you’ll have to increase the site’s memory and input vars value. Else, if you don’t want to control the Product attributes settings then please add the following filter code to your theme’s functions.php file to remove the Product Attributes Settings from Titles & Meta:

    
    add_filter( 'rank_math/settings/title', function( $titles ) {
    	$titles = array_filter( $titles, function( $title ) {
    		return ! isset( $title['taxonomy'] ) || strncmp( $title['taxonomy'], 'pa_', 3 ) !== 0;
    	} );
    	return $titles;
    } );
    

    This should fix the issue.

    Please let us know if you need our help with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Settings are not getting saved’ is closed to new replies.