Use of an undefined constant
yuriy.babenko - July 8, 2008 - 17:34
| Project: | XML sitemap |
| Version: | 7.x-2.x-dev |
| Component: | xmlsitemap_node |
| Category: | bug report |
| Priority: | normal |
| Assigned: | kiamlaluno |
| Status: | closed |
Jump to:
Description
Just came across this:
Notice: Use of undefined constant arguments - assumed 'arguments' in C:\!yuriy\www\rebgv\sites\all\modules\xmlsitemap\xmlsitemap_node\xmlsitemap_node.module on line 465
Notice: Use of undefined constant arguments - assumed 'arguments' in C:\!yuriy\www\rebgv\sites\all\modules\xmlsitemap\xmlsitemap_node\xmlsitemap_node.module on line 468
The lines:
<?php
'xmlsitemap_node_view_sitemap' => array(
arguments => array('view', 'nodes', 'type'),
),
'xmlsitemap_node_view_news' => array(
arguments => array('view', 'nodes', 'type'),
),
?>Should be:
<?php
'xmlsitemap_node_view_sitemap' => array(
'arguments' => array('view', 'nodes', 'type'),
),
'xmlsitemap_node_view_news' => array(
'arguments' => array('view', 'nodes', 'type'),
),
?>
#1
Just noticed that the same problem was reported in http://drupal.org/node/278350 ; setting this issue as a duplicate.
#2
Keeping this issue report, as it shows how to resolve it.
#3
Actually, the code how it is now can be completely removed. The integration with Views is thought for Views 1.0, which has never been released for Drupal 6. Views for Drupal 6 passed directly to 6.x-2.0.
#4
I am rising the priority of the issue. The issue is caused by code which should not be in the module (see the previous comment).
The issue is not certainly critical, but it is not a minor issue.
#5
#6
#7
This has been fixed in 6.x-1.x-dev.
#8
Automatically closed -- issue fixed for two weeks with no activity.