Thread: Administrative and Maintenance Tools - Read PMs (PM Management Suite Lite)
View Single Post
  #126  
Old 07-05-2009, 04:09 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hassshasss View Post

Mosh's Read PMs - Show Latest PMs


Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606

Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606

Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606
Show Last 100 PMs
pmtextid PM Title From To Date
xxxxxxxx xxxxx xxxxxx xxxxx
Quote:
Originally Posted by mariocaz View Post
Yes I am havieng the same error in my ACP

Code:
Warning: Invalid argument supplied for foreach() in [path]/admincp/read_pms.php on line 606
I have vB 3.7.6

PHP Version 5.2.9

And that error appears only when I am in the Read Pm?s Control Panel.

What else do you need ?
Quote:
Originally Posted by Sunka View Post
Same error...screenshot is in the attachment
vBulletin v3.8.3
PHP v5.2.9


Error come only when you list PMs (show last 100 PMs, or when you search PMs with some word)
Quote:
Originally Posted by radmoose View Post
Same errors on 2 different installs

One Install...
Shows the TO for the last 55 items then errors.
vBulletin 3.8.1 Patch Level 1
PHP 5.2.5
MySQL Version 5.0.81-community
Second Install...
WHen showing last 250, 2 of the items about midway show the error but the rest are OK.
vBulletin 3.8.2
PHP 5.2.5
MySQL Version 5.0.81-community

Not having any other issues on either site
What I think is happening is that the for some reason the array that holds the To, CC and BCC users for certain PMs is not being picked up, and as a consequence empty arrays are being passed to the function that creates the list of recipients that is displayed in the To field. I have done a change that should display a message Reciepients can not be displayed. if I am right.

[s]Can all four of you try the file attached and let me know if it works (i.e. no error messages and displaying the message above in some fields? Simply over-write your old version with this one.[/s]

If it fixes the issue, I will release a new version

EDIT: Removed attachment, as this has now been rolled into the official v3.8.009 release.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01298 seconds
  • Memory Usage 1,782KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete