after installing the new version I get this error when I click on "Add Media"
I use the standard D7 theme.

    * Notice: Undefined offset: 1 in theme_pager() (line 332 of C:\Entwicklung\drupal-7.0\includes\pager.inc).
    * Notice: Undefined offset: 1 in theme_pager_first() (line 460 of C:\Entwicklung\drupal-7.0\includes\pager.inc).
    * Notice: Undefined offset: 1 in theme_pager_previous() (line 490 of C:\Entwicklung\drupal-7.0\includes\pager.inc).
    * Notice: Undefined offset: 1 in theme_pager_next() (line 529 of C:\Entwicklung\drupal-7.0\includes\pager.inc).
    * Notice: Undefined offset: 1 in theme_pager_next() (line 530 of C:\Entwicklung\drupal-7.0\includes\pager.inc).
    * Notice: Undefined offset: 1 in theme_pager_last() (line 565 of C:\Entwicklung\drupal-7.0\includes\pager.inc).
CommentFileSizeAuthor
#6 pager.PNG18.3 KBstoltoguzzi
#3 DrupalModules_2011.04.05.txt9.54 KBfedbccer

Comments

qbnflaco’s picture

+1

David_Rothstein’s picture

My guess would be that you have some other module installed that is messing with Drupal's pager in an improper way. Not positive that's the cause, but it seems likely...

I suggest checking what other contrib modules this site is using. (And ideally, which of them use pagers in their code somewhere.) And possibly disabling them one by one in a test environment to see if doing that makes the messages go away.

fedbccer’s picture

StatusFileSize
new9.54 KB

Exactly the same error. And the gallery doesn't work.

I also had the error described in http://drupal.org/node/1029486
that seem to be solved using this patch http://drupal.org/node/1029486#comment-3958092

I think I followed all the instructions to setup the module correctly but nothing to do.
I can just create a new content of type gallery, upload pictures with the multi-upload feature, but the pictures are not linked to the gallery that remain empty. Same thing if I add media from "library"

Attached to this post the list of all the modules present in my Drupal 7 installation.

Any help to have my gallery work is appreciated.

stoltoguzzi’s picture

still the same error, any news about this error?

victory17’s picture

+1

stoltoguzzi’s picture

StatusFileSize
new18.3 KB

I installed again all the modules described in the media_gallery readme.
Still I have this error:
- go to home
- open the gallery link to see all the gallery
- click on one gallery
- go back to the home
now I have the attached error

Same if I do the following:
- open a gallery
- add image
now the attached error appears and the layout is distroyed

agerson’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Active » Closed (duplicate)