Support » Plugin: Gunner Technology Pinboard » [Plugin: Gunner Technology Pinboard] Fatal Error

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’m getting the same error, even with all other plugins disabled.

    I researched this on the net and it appears that the error message occurs because the programmer has used an anonymous function call in the code. Anonymous functions are only supported from PHP 5.3 and up. You are probably using PHP 5.2 like I am.

    In order for it to be backward compatible with 5.2, the anonymous function called on line 60 needs to be given a name and called slightly differently.

    Okay… thanks! So – I know the very very basics of code. Can you tell me how to give it a name?

    Actually, having looked over the rest of what would be required to make this backward compatible with PHP 5.2, there is one other incompatible feature of 5.3 that has been used in the code. I’m not well versed enough to fix the second problem myself either, so if you don’t know how to write a basic function in PHP, you’re probably best off either hiring someone from oDesk or Fiverr to fix it up, or else seeing if the original dev will fix it for PHP 5.2 compatibility.

    Okay well I’ve contacted my host which is Hostgator, here’s the instructions on fixing this for those of you who use Hostgator shared hosting.

    http://support.hostgator.com/articles/hosting-guide/hardware-software/php-5-3

    Alright, I added the code to my htaccess file as per the above instructions and it worked great. So if anyone else is having similar issues, contact your host if it’s not Hostgator and see if they can upgrade your site to 5.3.

    yeah so I guess it’s not working, I got it installed but now trying to set up the pins and getting this error on the page itself when it loads:

    Fatal error: Call to undefined function _log() in /home/login/public_html/xxxxxxxxx.com/wp-content/plugins/gt-pinboard/gunner_technology_pinboard.php on line 571

    I’m getting this same fatal error after upgrading to 5.3.

    Any other thoughts?

    Can anyone post up the code updates needed to get this to work?

    Ok – got this to work…

    Step 1 – update PHP version to 5.3 minimum.
    (I did this in the WHM Cpanel option to create/update Apache).
    step 2 – edit the main php file that comes with this plug-in and insert // at the start of the line that begins “_log”

    Now need to sort out the layout issues to get it working correctly on my theme.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Gunner Technology Pinboard] Fatal Error’ is closed to new replies.