Support » Plugin: Related » How to set up Doubled Up?

  • Resolved paer



    I implemented this plugin in my template with a title and feature image and it works just great.
    Now I like to add a 2nd list. When I am not misunderstanding this is possible with “Related (Doubled Up)”, but how does it work exactly?

    I tried global $related_du; echo $related_du->show( get_the_ID() ); but get this error:
    Fatal error: Call to a member function show() on a non-object in

    I hope u can help me,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marcel Pol


    Hi, yes, that is how it should work :).

    You did activate the plugin?

    It could be that you are running it too early, and the instance doesn’t exist yet. The instance gets created at the ‘plugins_loaded’ action.

    Does the widget for it work? It uses that same code, and will run at ‘widgets_init’.

    Yes, plugin is activated and the widget works, too.

    Shouldn’t it be just fine when I load it some place after this?
    global $related; $rel = $related->show( get_the_ID(), true );

    Anyway, I just moved the code snippet
    global $related_du; echo $related_du->show( get_the_ID() );
    to the footer at the very bottom, but still same error.

    Just for my understanding, with $related_du it is possible to create a 2nd list with a seperate selection, right?

    Plugin Author Marcel Pol


    Yes, for the widget it works here.
    Do you use a page template, that you can share? You could mail it to

    Plugin Author Marcel Pol


    Strange, the page template works here, when I use it as a page template in Twenty Ten theme.

    I am a bit lost in what is going on.

    Plugin Author Marcel Pol


    A usual way of debugging is to deactivate plugins and switch to a default theme, and see if it works.
    If it works, turn everything on one-by-one.

    Hi Marcel,

    I opened up the plugins page to start debugging and was totally surprised. Till then I didn’t notice that “Related (double up)” comes as a second plugin.

    Sorry for all the trouble, but I did just one install and didn’t expect a second plugin here.

    Anyway, I activated it and it works perfect! I really love this plugin!!!

    Thanks for the plugin and your great support – True 5 Stars!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to set up Doubled Up?’ is closed to new replies.