Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8255247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:27:39+00:00 2026-06-08T01:27:39+00:00

Even that my system is still functioning properly my error-log is suddenly overflowding with

  • 0

Even that my system is still functioning properly my error-log is suddenly overflowding with errors like these:

2012-07-20T02:53:25+00:00 WARN (4): [2048] Declaration of User_Model_User::getParent() should be compatible with Core_Model_Item_Abstract::getParent($recurseType = NULL) ([…]/application/modules/User/Model/User.php) [20]
Error Code: 1b29e1
Stack trace:
#0 […]/application/libraries/Engine/Loader.php(103): include_once('/dana/data/www.altandetlige.dk/d...')
#1 (unknown file)(0): Engine_Loader::autoload('User_Model_User')
#2 (unknown file)(0): spl_autoload_call('User_Model_User')
#3 […]/application/libraries/Zend/Db/Table/Rowset/Abstract.php(114): class_exists('User_Model_User')
#4 […]/application/libraries/Zend/Db/Table/Abstract.php(1340): Zend_Db_Table_Rowset_Abstract->__construct(Array)
#5 […]/application/libraries/Zend/Db/Table/Abstract.php(1290): Zend_Db_Table_Abstract->fetchAll('((`engine4_users`.`user_id` = 1)...')
#6 […]/application/modules/User/Api/Core.php(334): Zend_Db_Table_Abstract->find(1)
#7 […]/application/modules/User/Api/Core.php(167): User_Api_Core->_getUser(1)
#8 […]/application/modules/User/Bootstrap.php(34): User_Api_Core->getViewer()
#9 […]/application/modules/Core/Bootstrap.php(783): User_Bootstrap->__construct(Core_Bootstrap)
#10 […]/application/libraries/Engine/Application/Bootstrap/Abstract.php(256): Core_Bootstrap->_initModules()
#11 […]/application/libraries/Engine/Application/Bootstrap/Abstract.php(207): Engine_Application_Bootstrap_Abstract->_executeResource('modules')
#12 […]/application/libraries/Engine/Application/Bootstrap/Abstract.php(150): Engine_Application_Bootstrap_Abstract->_bootstrap()
#13 […]/application/libraries/Engine/Application.php(149): Engine_Application_Bootstrap_Abstract->bootstrap()
#14 […]/application/index.php(193): Engine_Application->bootstrap()
#15 […]/index.php(24): include('/dana/data/www.altandetlige.dk/d...')
#16 {main}

All Models using the Core_Model_Item_Abstract will produce the exact same error.

The strange thing is that the error only show on the production server (running PHP 5.4.3) and not on the development setup (running PHP 5.2.11).

From the error it is clear that the Core_Model_Item_Abstract do not seem to get the expected parameters, but no changes have been make to the Core_Model_Item_Abstract and if it was the case it would properly show in both production and development.

[EDIT]

The parent class in Core_Model_Item_Abstract looks like this. For me it seems like the code is already taking into account that $recurseType is not set:

public function getParent($recurseType = null) {
    if( empty($recurseType) ) $recurseType = null; // Parent and owner are same
    if( !empty($this->_parent_is_owner) ) { 
        return $this->getOwner($recurseType); 
    }
}

Anybody have any thoughts on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:27:40+00:00Added an answer on June 8, 2026 at 1:27 am

    Change

    class User_Model_User {
        function getParent() {
        ...
    

    to

    class User_Model_User {
        function getParent($recurseType = NULL) {
        ...
    

    and the problem should go away. This change will not break anything, but will only quiet your logs.

    Or you could do this:

    abstract class Core_Model_Item_Abstract 
    {
      public function getParent(/*$recurseType = NULL*/)
      {
          $recurseType = NULL; # forcing to null as no one is passing this parameter
          ...
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm facing the compilation error in the following code. I'm expecting that even temporary
I'm currently designing a system that requires an admin to log in using a
I found that the owner:group of the files under /mnt/sdcard is always system:sdcard_rw. Even
Seems that even after unchecking the option in the PyDev/Debug preferenecs pane to launch
I saw that even by writing separate commands, we can combine two different types
I'm not even sure that Postgres' HStore data type can contain nested hashes, and
Is it possible that even if I'm using a class from a swc it
One would expect that even though strings are immutable, value-equality and reference-equality would not
Mathematically I suppose it's possible that even two random GUIDs generated using the built
There's a lot of buzz about MooseX::Method::Signatures and even before that, modules such as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.