This is a curious one. I'm using 1.2 r4746 and periodically get
infinitely nested recurring views all with the error message shown
below. I can't seem to replicate what triggers this, as it has only
happened a couple of times after extremely trivial code changes.
Reversing those changes out does not make the problem go away, in
fact, once 'triggered' the infinite recurring views appear for *every*
page of the application, which implies it's not the changes that I'm
making that are causing it.

There are no errors in the apache logs and the cake log does not show
any recursive calls (i.e. the recursion seems to be in the view
rendering, not the controller).

Clearing the cache directory has no effect, thus far the only way I
have been able to clear the issue is to revert cake to a previous
revision, then work forward to the current release (4746). But I have
not yet been able to find the specific release that trigger this, as I
can bring the libs bang up to date without any problems.

Next time it occurs, I'll work backwards, one release at a time...

Has anyone else experience this?

GreyCells


Warning (2): array_merge() [function.array-merge]: Argument #1 is not
an array [COREcake/libs/view/view.php, line 473]

Context | Code

$content_for_layout     =       "<"
$layout_fn      =       "/path/to/my/app/views/layouts/<.ctp"
$debug  =       ""
$pageTitle      =       ""


                'scripts_for_layout' => join("\n\t", $this-
>__scripts),


                'cakeDebug'          => $debug


            )


        );



array_merge - [internal], line ??
View::renderLayout() - COREcake/libs/view/view.php, line 473
SessionHelper::flash() - COREcake/libs/view/helpers/session.php, line
128
include - APP/views/elements/flash.ctp, line 15
View::_render() - COREcake/libs/view/view.php, line 778
View::renderElement() - COREcake/libs/view/view.php, line 400
include - APP/views/layouts/default.ctp, line 30
View::_render() - COREcake/libs/view/view.php, line 778
View::renderLayout() - COREcake/libs/view/view.php, line 484
View::render() - COREcake/libs/view/view.php, line 347
Controller::render() - COREcake/libs/controller/controller.php, line
611
SearchController::index() - APP/controllers/search_controller.php,
line 44
Dispatcher::_invoke() - COREcake/dispatcher.php, line 346
Dispatcher::dispatch() - COREcake/dispatcher.php, line 328
[main] - APP/webroot/index.php, line 84


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to