ZF-7106: Circular dependency when loading Zend_Gdata_Calendar

Issue Type: Bug Created: 2009-06-23T14:26:31.000+0000 Last Updated: 2009-06-23T18:18:28.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Trevor Johns (tjohns) Assignee: Trevor Johns (tjohns) Tags: - Zend_Gdata

Related issues: Attachments:


When attempting to load Zend_Gdata_Calendar using Zend_Loader, the following error is displayed:

<pre class="literal">
php > require_once('Zend/Loader.php');
php > Zend_Loader::loadClass('Zend_Gdata_Calendar');
PHP Fatal error:  Cannot redeclare class Zend_Gdata_Calendar in /Users/trevorjohns/Projects/zf/library/Zend/Gdata/Calendar.php on line 168
PHP Stack trace:
PHP   1. {main}() php shell code:0
PHP   2. Zend_Loader::loadClass() php shell code:1

This can also be caused by calling require('Zend/Gdata/Calendar.php').


Posted by Trevor Johns (tjohns) on 2009-06-23T18:18:28.000+0000

Fixed in trunk by r16266.

<pre class="literal">
commit ba7dc0ee681ddff7d28a315aaf6ad6f916cf2ea0
Author: tjohns 
Date:   Wed Jun 24 01:16:04 2009 +0000

    ZF-7106: Remove circular dependency in Zend_Gdata_Calendar caused by
    git-svn-id: <a href="">…</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

 .../Zend/Gdata/Calendar/Extension/AccessLevel.php  |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.