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:

    'xmlsitemap_node_view_sitemap' => array(
      arguments => array('view', 'nodes', 'type'),
    ),
    'xmlsitemap_node_view_news' => array(
      arguments => array('view', 'nodes', 'type'),
    ),

Should be:

    'xmlsitemap_node_view_sitemap' => array(
      'arguments' => array('view', 'nodes', 'type'),
    ),
    'xmlsitemap_node_view_news' => array(
      'arguments' => array('view', 'nodes', 'type'),
    ),

Comments

yuriy.babenko’s picture

Status: Needs review » Closed (duplicate)

Just noticed that the same problem was reported in http://drupal.org/node/278350 ; setting this issue as a duplicate.

apaderno’s picture

Status: Closed (duplicate) » Active

Keeping this issue report, as it shows how to resolve it.

apaderno’s picture

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.

apaderno’s picture

Priority: Minor » Normal

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.

apaderno’s picture

Title: Notice being thrown in xmlsitemap_node.module » Use of an undefined constant
apaderno’s picture

Assigned: Unassigned » apaderno
apaderno’s picture

Status: Active » Fixed

This has been fixed in 6.x-1.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.