Drupal Errors Found After Update

Discussion in 'Site & Server Administration' started by Bohol, Apr 6, 2008.

  1. #1
    I updated to the latest version of Drupal and I got this error in my site on the homepage itself. What shall I do? Thanks!

    * warning: array_map() [function.array-map]: Argument #2 should be an array in /home/rootfolder/public_html/sitename/modules/system/system.module on line 958.
    * warning: array_keys() [function.array-keys]: The first argument should be an array in /home/rootfolder/public_html/sitename/includes/theme.inc on line 1712.
    * warning: Invalid argument supplied for for each() in /home/rootfolder/public_html/sitename/includes/theme.inc on line 1712.
     
    Bohol, Apr 6, 2008 IP
  2. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #2
    is Drupal compatible with PHP5?
     
    gate2vn, Apr 6, 2008 IP
  3. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #3
    yes..it is compatible.
     
    aap, Apr 6, 2008 IP
  4. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #4
    hmm... I also noticed error in modules folder. Do you have any hack-mod installed in your Drupal?
     
    gate2vn, Apr 6, 2008 IP
  5. Bohol

    Bohol Peon

    Messages:
    2,680
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #5
    No, I don't have a hack-mod installation in my drupal site.

    Anyone knows how to fix this error? Thanks indeed!
     
    Bohol, Apr 6, 2008 IP
  6. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #6
    I see this error with array function in PHP5. That's why I asked if Drupal is compatible with php5. You should look into your module file, to see what it's in the lines listed above, then you can have more details for debugging
     
    gate2vn, Apr 6, 2008 IP
  7. Bohol

    Bohol Peon

    Messages:
    2,680
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks Gate2vn. I need to learn more about Drupal. I am more comfortable with Joomla.
     
    Bohol, Apr 6, 2008 IP