Just after I chose the homepage layout, i get the following error:

"Fatal error: Declaration of OgSelectionHandler::getInstance() must be compatible with that of EntityReference_SelectionHandler::getInstance() in ... \julio\modules\og\plugins\entityreference\selection\OgSelectionHandler.class.php on line 7"

Help pls!

Comments

Category:support» bug

Status:Active» Postponed (maintainer needs more info)

I cannot reproduce this issue, have you tried the latest nightly?

If so can you detail your installation platform, php, apache, and mysql (etc.) version.

Hi Jeff

When I saw the new version, I downloaded it (the 22May2012 version) yesterday and installed it:
julio-7.x-1.x-dev-core.tar.gz 14.21 MB 76ce14db56d6de9b9b299912f28777a8

This is what I'm running:
Windows Server 2008 R2 Enterprise
WAMP 2.2 running on localhost:
Apache/2.0.63 (Win32)
PHP/5.2.9
MySQL 5.5.16
Let me know if you require more details pls.

@BITCOM The theme in Julio is incompatible with your version of PHP

#1475560: Hexagon incompatible with PHP < 5.3

Thanx lightsurge

Going to try it now!

Changed to PHP 5.2.11... and Sure enough... Installation works 100%!!!

Thanx lightsurge!

Status:Postponed (maintainer needs more info)» Fixed

Will be interesting to see how you get on with that php version and Julio - I think I was initially using 5.2.10 which still had issues with the theme, though installation was fine.

+1 to lightsurge's comment in #8 - we have done the bulk of our development/testing against PHP 5.3 and higher.

If 5.2.11 works with no issue, that will be a good thing to know.

I am getting the same error with PHP 5.2.17.

System info:

Apache version 2.2.19
PHP version 5.2.17
MySQL version 5.1.62-cll
Architecture x86_64
Operating system linux

Error:

Fatal error: Declaration of OgSelectionHandler::getInstance() must be compatible with that of EntityReference_SelectionHandler::getInstance() in /home/thearchi/public_html/profiles/julio/modules/og/plugins/entityreference/selection/OgSelectionHandler.class.php on line 7

Is there a work-around for this, or is the only option to (get the provider to) upgrade PHP to 5.3?

Thanks.

Well, nobody has expressed interest in making Hexagon (Julio's theme) work in php < 5.3.

Having said that, the problem you're experiencing appears to be different to that which I experienced, and looks to be more down to the OG entityreference plugin than the theme (tho could still be php version related).

This could well be related: #1570524: EntityReference_SelectionHandler_Views::getInstance() doesn't match signature in superclass

I would see if your provider will upgrade anyway, though. The lack of interest in fixing incompatibilities with php 5.2 is mainly down to the fact that most supported distributions (Linux anyway) have already upgraded to 5.3, so if your provider is using 5.2 they may be using unsupported software, which is never good.

Status:Fixed» Postponed (maintainer needs more info)

Just to make clear try the patch in http://drupal.org/node/1570524#comment-5979102 and report back if it works ;-)

I checked and it took them (hostroute.com) all of 15 minutes to move my site to another server with PHP v. 5.3.8. Problem solved, and successfully installed.

@rtkerns - thank you for the follow up on this.

Did you change anything in the Julio codebase, or is the only difference between your site in #10 and #13 the PHP version?

Status:Postponed (maintainer needs more info)» Closed (duplicate)

This looks like #1570524: EntityReference_SelectionHandler_Views::getInstance() doesn't match signature in superclass which was fixed May 11th. There are additional issues with PHP < 5.3 related to hexagon already covered in #1475560: Hexagon incompatible with PHP < 5.3

Hello, all my friends

I use Hostgator by Turning on PHP 5.3
http://support.hostgator.com/articles/hosting-guide/hardware-software/ph...

Could you please try this for Online Server....

In order to utilize this handler, you will need to add the following code to your .htaccess file:

# Use PHP 5.3
AddType application/x-httpd-php53 .php

Good Luck & beautiful days :-)