Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

How do i overcome this fatal error below?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
ronelgon
New php-forum User
New php-forum User
 
Posts: 1
Joined: Mon Apr 07, 2014 9:13 am

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.
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.