How do i overcome this fatal error below?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

ronelgon
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Apr 07, 2014 9:13 am

How do i overcome this fatal error below?

Postby ronelgon » Mon Apr 07, 2014 9:26 am

Hello,
How do i overcome this fatal error below?

Code: Select all

Fatal error: Cannot redeclare Graph::$xtick_factor in/home/buuza/public_html/demo/jpgraph/jpgraph.php on line198

And also on the line graph you get the fatal error below

Fatal error: Cannot redeclare Graph::$xtick_factor in/home/buuza/public_html/demo/jpgraph/jpgraph.php on line198

And also on the pie Graph, you get the fatal error below;
Fatal error: Cannot redeclare Graph::$xtick_factor in/home/buuza/public_html/demo/jpgraph/jpgraph.php on line198


Your help will be highly appreciated

Thank you
Ronnie

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: How do i overcome this fatal error below?

Postby seandisanti » Tue Apr 08, 2014 6:41 pm

you're using the same declaration in multiple places within the same scope. It looks to me like you're including or requiring the same file multiple times, but can't say 100% without seeing code.


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron