Jump to content
Sign in to follow this  
sanbikes

Utimate SEO Problems

Recommended Posts

People ....

Use Utimate SEO

On my homepage is okay, but the admin is showing this error

 

Warning: call_user_func(tep_reset_cache_data_seo_urls) [function.call-user-func]: First argument is expected to be a valid callback in /home2/cardsdig/public_html/loja/admin/includes/functions/general.php on line 1231

 

 

I went to that directory and looked, but apparently did not identify the error.

How to fix?

Share this post


Link to post
Share on other sites

Did you do

STEP #5 - Edit admin/includes/functions/general.php

 

Add this code to the file just above the ending ?> tag:

// Function to reset SEO URLs database cache entries 
// Ultimate SEO URLs v2.1
function tep_reset_cache_data_seo_urls($action){		
 switch ($action){
case 'reset':
   tep_db_query("DELETE FROM cache WHERE cache_name LIKE '%seo_urls%'");
   tep_db_query("UPDATE configuration SET configuration_value='false' WHERE configuration_key='SEO_URLS_CACHE_RESET'");
break;
default:
break;
 }
 # The return value is used to set the value upon viewing
 # It's NOT returining a false to indicate failure!!
 return 'false';
}

The error message suggests that you are missing that function.

 

Note: that is from the 2.1 version of the contribution. If you are using a different version, the function might be different. You might get more help in the support thread for the contribution.


Always back up before making changes.

Share this post


Link to post
Share on other sites
Did you do The error message suggests that you are missing that function.

 

Note: that is from the 2.1 version of the contribution. If you are using a different version, the function might be different. You might get more help in the support thread for the contribution.

 

 

I am very grateful for your help friend, worked.

A hug

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×