Fatal Error after upgrading to 3.6.3

Reports about issues that you encounter in Suffusion. This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.
Forum rules
This forum is being officially closed with effect from 3rd February 2019. Future support requests can be posted on the GitHub page at https://github.com/sayontan/suffusion/issues.
sudipta_shaw
Posts: 11
Joined: 18 Mar 2010, 11:41
Contact:

Fatal Error after upgrading to 3.6.3

Post by sudipta_shaw » 12 Aug 2010, 20:54

Fatal error: Call to undefined function register_nav_menu() in /home1/pleasur5/public_html/bestofkanchan/wp-content/themes/suffusion/functions/actions.php on line 1898

Wordpress Version 2.9.2

Blog is down now. Scratching my head to fix this.

-Sudipta.

Edit: The admin is gone too... same error at http://www.bestofkanchan.com/wp-admin/
Edit 2: Deleted the suffusion folder, changed the theme for now.
Edit 3: Found this thread: http://www.aquoid.com/forum/viewtopic.php?f=2&t=2368 - need to update to WP3. Doing that now.
Edit 4: Yup. It worked !!! so now Suffusion does not support WP older than 3 versions. I guess this needs to be put somewhere in bold.

User avatar
Connie
Posts: 1169
Joined: 10 Nov 2009, 04:53
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by Connie » 12 Aug 2010, 23:16

tell us which PHP version your server has
switch to another theme
delete Suffusion theme completely
download the theme again
upload directly with FTP
activate Suffusion theme

this was explained some times already here in the forum, if you need more info, do a search !

Good luck,

Connie

sayontan
Site Admin
Posts: 10210
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by sayontan » 13 Aug 2010, 00:42

Edit 4: Yup. It worked !!! so now Suffusion does not support WP older than 3 versions. I guess this needs to be put somewhere in bold.
That was unintentional. Apart from one particular place where I forgot to encase the function in a "function_exists" check the theme works for versions up to 2.8.

eliz
Posts: 11
Joined: 18 Jun 2010, 03:38
Location: Romania
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by eliz » 15 Aug 2010, 09:14

i have the same problem. they are 2 undefined function in actions.php and they give errors on 2.9.2
has_nav_menu
register_nav_menu
after i repaired those with your solution (function_exist) it seems like other things not working like on my old version of suffusion , like a flash slideshow that i had in the sidebar ... maybe some swfobject.js conflicts.

is there a place where we can download older versions of suffusion ? (because i overwrited the old files)

eliz
Posts: 11
Joined: 18 Jun 2010, 03:38
Location: Romania
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by eliz » 15 Aug 2010, 09:50

eliz wrote:it seems like other things not working like on my old version of suffusion , like a flash slideshow that i had in the sidebar ... maybe some swfobject.js conflicts.
i think i have found the problem
it seems that in the new version, my http://ajax.googleapis.com/ajax/libs/sw ... fobject.js from custom External JavaScript is executed just before end of the body, instead the head. so my flash sideshow don't work anymore.

how can i make my JS to be executed in the <head> ?

@later edit: i managed to introduce the JS manually in the head by editing header.php . now my flash slideshow is working . i hope you will resolve this in the future releases ... maybe an option where to execute the custom java script

sayontan
Site Admin
Posts: 10210
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by sayontan » 15 Aug 2010, 12:13

For the JS loading go to Blog Features -> Site Optimization and switch the JS files to load in the header.

eliz
Posts: 11
Joined: 18 Jun 2010, 03:38
Location: Romania
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by eliz » 16 Aug 2010, 00:08

hmm. thanks. it seems it's a new option.
however when activating option "JS in header" my flash slideshow works ok, but it seems that Google translator widget included in the Suffusion, don't function anymore.

if i set "JS in footer" the translator widget is working

eliz
Posts: 11
Joined: 18 Jun 2010, 03:38
Location: Romania
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by eliz » 18 Nov 2010, 12:24

eliz wrote:hmm. thanks. it seems it's a new option.
however when activating option "JS in header" my flash slideshow works ok, but it seems that Google translator widget included in the Suffusion, don't function anymore.
if i set "JS in footer" the translator widget is working
still no fix for this ?
i have upgraded today to 3.6.9 and i have the same problem.
Last edited by eliz on 20 Nov 2010, 00:49, edited 1 time in total.

sayontan
Site Admin
Posts: 10210
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by sayontan » 18 Nov 2010, 13:13

I did remark in the release notes that the Google Translator problem has not been fixed: http://www.aquoid.com/news/2010/11/suff ... ion-3-6-9/

eliz
Posts: 11
Joined: 18 Jun 2010, 03:38
Location: Romania
Contact:

Re: Fatal Error after upgrading to 3.6.3

Post by eliz » 20 Nov 2010, 00:53

if i remember correctly the translator widget stop working when you introduced the option where to execute the javascript (header or footer).

Locked