• Resolved gingertop

    (@gingertop)


    I am reasonably new to this area of WordPress Blog management. I really want a navigation system that will allow me to list the contents of each category in a menu and I thought this plugin should do the job. Unfortunately, when I go to the plugins page and click to activate I get the following returned.
    “Plugin could not be activated because it triggered a fatal error.”
    Could anyone help me solve this problem and perhaps talk me through the set up. I would truly appreciate some help. Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • First things first; what version of WordPress are you running? Are you on a windows or linux host? What version of PHP & MySQL?

    Then, make sure you followed the correct installation procedure. For instance, did you transfer the entire wp-dtree-30 directory (with that exact name) to the plugin folder?

    Thread Starter gingertop

    (@gingertop)

    Thank you for your help. My site and WordPress are hosted by Dreamhost.com and they have PHP5. I haven’t yet found version of MySql out but I will if important. I and using WordPress 2.2.2
    I have reinstalled the plugin and am still getting the ‘fatal error’ message when attempting to activate

    Are you able to upgrade to WP 2.3 and try it out?

    Are dreamhost hosting you on a linux box?

    Thread Starter gingertop

    (@gingertop)

    I’m afraid that this WordPress is a free ‘One Click Install’ that is offered by Dreamhost and it would be their responsibility to upgrade. They host on a linux box

    I found the problem and have “patched” the current version just now. Give it fifteen minutes to update from SVN and then re-download the plugin and install.

    The problem was in wp-dtree_gen-functions.php, line 106:
    $catobj = get_category($id-$idtranspose['cat']);

    I’m fetching a category object by ID, calculating the ID in the function call. This didn’t sit well with WP 2.2 (for reasons unknown), but the fix is simple:

    $catid = $id-$idtranspose['cat'];
    $catobj = get_category($catid);
    Thread Starter gingertop

    (@gingertop)

    Thank you very much for all your support to this point. You will be delighted to know that I followed you last instruction and the install is now activated. I can now explore and utilise this plugin.

    Once again I am very grateful and thank you very much.

    ulfben wrote:

    The problem was in wp-dtree_gen-functions.php, line 106:
    $catobj = get_category($id-$idtranspose[‘cat’]);

    However my codeline looked different:
    $catobj = get_category($nodedata['id']-$idtranspose['cat']);

    anyway, replacing that line with these two did the trick:

    $catid = $id-$idtranspose['cat'];
    $catobj = get_category($catid);

    Thanks, good tip!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error Activating WP-dTree 3.2’ is closed to new replies.