Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-02-09 22:02:22

bernard45
Member
Registered: 2015-08-18
Posts: 103
Website

Unexpected error

After copying the complete test site to www, changing BL2 sttings and LR publisher, I got the following error :

Unexpected error: Cannot declare class URLHelper, because the name is already in use in URLHelper.php on line 3

Please report error at http://community.theturninggate.net

Thanks for your help ...

Offline

#2 2019-02-10 00:58:40

bernard45
Member
Registered: 2015-08-18
Posts: 103
Website

Re: Unexpected error

Ben,
In /Backlight/Installer , I think you changed env.php.skel  to env.php in order to change 'get' .
This has been copied from \test\  to \www\ .
Could it be the reason of the above error ?

Offline

#3 2019-02-10 06:15:51

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Unexpected error

Hi Bernard, that's a very odd error.  It looks like URLHelper is being loaded twice, when it should only be possible to load it once.  Not an easy one to debug but I'm looking into it.

Offline

#4 2019-02-10 11:22:34

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Unexpected error

I'm not sure what the cause was, but I logged in to your Backlight admin and cleared the Template Cache.  The problem has gone away.

Offline

#5 2019-02-10 19:53:42

bernard45
Member
Registered: 2015-08-18
Posts: 103
Website

Re: Unexpected error

Hi Ben,
Yes it was looking like being loaded twice, but you found and solved the problem.
Thank you !
Bernard

Offline

Board footer

Powered by FluxBB