• Resolved BlackMoonWolf

    (@blackmoonwolf)


    Fatal error: Call to undefined function xml_transform() in C:\wamp\www\wp-content\plugins\ez-staff-list\framework\core\structure\objects\element.class.php on line 140
    Call Stack
    # Time Memory Function Location
    1 0.0013 457776 {main}( ) ..\admin.php:0
    2 0.5816 26362952 do_action( ) ..\admin.php:151
    3 0.5816 26363840 call_user_func_array ( ) ..\plugin.php:405
    4 0.5817 26363856 staff_mgt::Main( ) ..\plugin.php:0
    5 0.5817 26364280 gen_content( ) ..\staff_management.class.php:26
    6 0.5817 26406504 element->render( ) ..\content_gen.inc.php:185

    http://wordpress.org/extend/plugins/ez-staff-list/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Luke

    (@codifyllc)

    Please make sure you have libxml and xslt enbabled in your PHP configuration on your server. You need to have at least PHP 5.2 + .. PHP 5.3 is preferred.

    Sorry, I thought I had that written down somewhere, I guess not.

    Plugin Author Luke

    (@codifyllc)

    Thread Starter BlackMoonWolf

    (@blackmoonwolf)

    Thanks for the reply. Much faster than I expected. 😛

    Using PHP 5.3.5.

    I’ll check out that link, though. Thanks.

    If I can get this resolved, I’ll definitely come back and amend my post. I hate to leave it in a negative light as I’m not mad about it. Just wanted to help the community if I could. :PZ

    Plugin Author Luke

    (@codifyllc)

    Not a problem. Hope you get it worked out.

    Let me know if you have any other issues.

    Plugin Author Luke

    (@codifyllc)

    You might want to update to my latest version as well if you didn’t fix your problem

    Hi Lucas,

    I just updated the plugin to the newest version and I’m getting the fatal error below. I also can’t access my dashboard due to this error:

    Fatal error: Cannot redeclare button() (previously declared in /home/content/84/7614684/html/wp-content/plugins/ez-staff-list/framework/plugins/xhtml_gen.inc.php:45) in /home/content/84/7614684/html/wp-content/themes/best/inc/shortcodes.php on line 70

    Plugin Author Luke

    (@codifyllc)

    Ok… I will try to replicate right now and come up with a quick update… give me a few minutes..

    Plugin Author Luke

    (@codifyllc)

    Ahh .. now that I’m looking at the error.. that’s interesting.. your theme uses a same function name my framework does… a function called “button”.. I will modify my code to be something different for you 🙂 One moment

    Plugin Author Luke

    (@codifyllc)

    Ok.. so here’s what you can do in the mean time.. The logic I’m doing on my side is correct.. I’m checking if the function is does not exist.. if it doesn’t then it creates the function. Your error tells me the theme developer is not doing the same.

    So, I’m going to change my function name a little bit to make your life easier, but just so you don’t have to wait for WordPress to update it’s REPO with my changes.. do the following:

    1. Go to wp-content/plugins/ez-staff-list/framework/plugins/xhtml_gen.inc.php on line 45 and put 2 // (slashes in the beginning of the line like so:

    //if (!function_exists('button')) { function button($c, $a=false) { return xhe('button', $c, $a); } }

    If you get the same error for other functions in that file, just continue to put the // before the line. There are only a few of those functions I’m using right now.

    Let me know if you have any other problems.

    Thanks, the “//” worked! Greatly appreciate the help on that. 😀

    Plugin Author Luke

    (@codifyllc)

    No problem. Feel free to update your version again when it prompts you. I changed that function name from:

    button() to ez_button()

    Luke

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: EZ Staff List] Installs but gives errors when trying to use mgmt.’ is closed to new replies.