[SOLVED] Fatal error: Cannot declare class ganttchart

Post Reply
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

[SOLVED] Fatal error: Cannot declare class ganttchart

Post by elviseras »

Hi Sergey... We have a big problem in Ruko upgrade...

After RK upgrade from v3.3 to v3.4.2 shows following error in blank page....
Fatal error: Cannot declare class ganttchart, because the name is already in use in D:\UniServerZ\www\xxxxx\plugins\ext\classes\ganttchart.php on line 3
Any help???.... PHP is v7.4

Thanks in advance
Last edited by elviseras on 10 Aug 2023, 15:49, edited 2 times in total.
User avatar
nehakakar
Posts: 4
Joined: 04 Jul 2023, 11:44
Name: nehakakar
Location: India
Company Name: Alam Groups
Contact:

Re: Fatal error: Cannot declare class ganttchart

Post by nehakakar »

First, confirm that there are no other occurrences of the ganttchart class being declared elsewhere in your codebase. This includes both your own code and any third-party libraries or plugins you might be using.
Post here if you still encounter same issue.
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

Re: Fatal error: Cannot declare class ganttchart

Post by elviseras »

There are not other occurrences. Problem is after upgrade to v3.4.2.

There are not custom code

In Ruko v3.3 all is working fine ..... :( :(

Regards
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Fatal error: Cannot declare class ganttchart

Post by support »

Make sure you have updated main version and extension. Make sure you have copy extension to right folder.
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

Re: Fatal error: Cannot declare class ganttchart

Post by elviseras »

Sergey, you are right... Extension I was on the wrong path!!

Many thanks and apologies for our mistake... :oops: :oops:
Post Reply