WPIntell

Source evidence

[Plugin: Gunner Technology Pinboard] Fatal Error

Gunner Technology Pinboard · support · 2012-03-01T15:13:00+00:00

complaintsentiment
highseverity
1.0relevance
10replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 31 rows with source links

9.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
jpisanu unresolved
Hi, I’m getting a fatal error when I try to activate the plugin. Parse error: syntax error, unexpected T_FUNCTION in /nfs/c06/h04/mnt/94671/domains/xx.xxxxxx.com/html/wp-content/plugins/gt-pinboard/gunner_technology_pinboard.php on line 60 Any ideas of what can this be? Thanks. http://wordpress.org/extend/plugins/gt-pinboard/ 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.

Comments

10 shown
sebo246 2012-03-07T06:53:00+00:00

I’m getting the same error, even with all other plugins disabled.

Lisa Allen 2012-03-07T13:29:00+00:00

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.

sebo246 2012-03-07T14:50:00+00:00

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

Lisa Allen 2012-03-07T16:03:00+00:00

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.

sebo246 2012-03-07T18:41:00+00:00

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

sebo246 2012-03-07T18:50:00+00:00

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.

sebo246 2012-03-07T19:05:00+00:00

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

dpr22 2012-03-17T16:34:00+00:00

I’m getting this same fatal error after upgrading to 5.3. Any other thoughts?

notdodgy 2012-03-18T15:37:00+00:00

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

notdodgy 2012-04-06T10:54:00+00:00

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.