Fatal error: Call to undefined function: drigg_section_link() in /home/motivthr/public_html/sweetlo/sites/all/themes/drigg_theme/node-drigg.tpl.php on line 21

I get this error when I enable the new drigg theme.

ps: Thanks for fixing the other error, is gone now!

Comments

mercmobily’s picture

Hi,

You will need to rename your theme function.
It's really strange that you are getting the error, because there is a legacy layer there which should work.
However:

'drigg_embedded_contents', 'drigg_embed_contents'
'theme_drigg_sections', 'drigg_ui_sections'
'drigg_get_view_type_menu', 'drigg_ui_type_menu'
'drigg_get_order_menu', 'drigg_ui_order_menu'
'drigg_get_article_menu', 'drigg_ui_article_menu'
'drigg_get_submit_button', 'drigg_ui_submit_button'
'drigg_related_links_get_html', 'drigg_rl_related_links_get_html'
'drigg_get_promote_string', 'drigg_promoted_string'
'drigg_get_created_string', 'drigg_created_string'

Bye,

Merc.

mercmobily’s picture

Status: Active » Fixed

Hi,

I am assuming the submitter fixed it without confirming.
Please reopen this if the error persisted etc.

Merc.

wwwoliondorcom’s picture

Status: Fixed » Active

Hi

I got this error in 24 upgrade so I re-installed the 23, where should be changed what you are speaking about in your previous reply?

Thanks a lot.

mercmobily’s picture

Hi,

Those functions are called by the theme. Specifically, page.tpl.php and node-drigg.tpl.php!

Please stay in touch and let us know.

Merc.

mercmobily’s picture

Status: Active » Fixed

Hi,

Assuming that it's fixed.

Merc.

wwwoliondorcom’s picture

Sorry I didn't have time to test until now but I just installed the latest Drigg 1.31 today and the problem is still here.

mercmobily’s picture

Status: Fixed » Active

Hi,

wwwoliondorcom , I don't mean to doubt your word, but I really need you to do some _very_ extensive testing and make sure that you upgraded both user_karma, extra_voting_forms and drigg -- properly.

Please specify _exactly_ what "the" problem is (that is, which error message you're getting) and an URL to your site so that I can have a look.

Since 5 people reported it fixed (including me), I tend to think that something went wrong with your upgrade.

Bye,

Merc.

mercmobily’s picture

Status: Active » Fixed

Hi,

Closing.

Merc.

wwwoliondorcom’s picture

Status: Fixed » Postponed (maintainer needs more info)

After re-installing all the modules it's now ok, I just needed to change the functions names manually in page.tpl.php.

Is it normal to have to do that and do I have to change anything else in any other file?

Thanks a lot !

mercmobily’s picture

Status: Postponed (maintainer needs more info) » Fixed

Hi,

It's all good, you shouldn't need any more changes.
Version .24 chanced _everything_ in Drigg. It's basically a rewrite. So, it was a very drastic upgrade...

Merc.

mercmobily’s picture

Status: Fixed » Closed (fixed)