Fatal error: Cannot redeclare class RedBeanPHP\RedException in X:\home\localhost\www\Teams\blocks\rb.php on line 6745

194 views
Skip to first unread message

msb...@gmail.com

unread,
Apr 11, 2017, 12:35:16 PM4/11/17
to redbeanphp
How to fix it???


Fatal error: Cannot redeclare class RedBeanPHP\RedException in X:\home\localhost\www\Teams\blocks\rb.php on line 6745

Matthew Frederico

unread,
Apr 11, 2017, 9:07:56 PM4/11/17
to redbe...@googlegroups.com
  • Are you using autoloader?
    • IF you are using autoloader you may want to check if you are doing an additional include or require somewhere
  • Try using include_once or require_once when loading rb.php


On Tue, Apr 11, 2017 at 8:45 AM, <msb...@gmail.com> wrote:
How to fix it???


Fatal error: Cannot redeclare class RedBeanPHP\RedException in X:\home\localhost\www\Teams\blocks\rb.php on line 6745

--
You received this message because you are subscribed to the Google Groups "redbeanphp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redbeanorm+unsubscribe@googlegroups.com.
To post to this group, send email to redbe...@googlegroups.com.
Visit this group at https://groups.google.com/group/redbeanorm.
For more options, visit https://groups.google.com/d/optout.



--
-`;'- Matthew Frederico

Владислав Антипенко

unread,
May 13, 2017, 1:08:17 PM5/13/17
to redbeanphp
Hi! have you decided this issue?

вторник, 11 апреля 2017 г., 19:35:16 UTC+3 пользователь msb...@gmail.com написал:

Рома Самойленко

unread,
Feb 6, 2019, 4:01:09 AM2/6/19
to redbeanphp
изменил на require_once появилась другая ошибка:
Uncaught RedBeanPHP\RedException: A database has already been specified for this key.
How to fix it???

вторник, 11 апреля 2017 г., 19:35:16 UTC+3 пользователь msb...@gmail.com написал:
How to fix it???
Reply all
Reply to author
Forward
0 new messages