vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - "Meet our Team" in Forumhome (https://vborg.vbsupport.ru/showthread.php?t=168319)

dancue 03-20-2008 06:55 PM

Quote:

Originally Posted by dave9720 (Post 1469436)
This is what I have on forum page; Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1259) : eval()'d code on line 5

I have 5 members listed in site team, showing 4 Warning: array_merge, If I remove the other 4 members the Warning: array_merge is gone. Very confused:confused:

The array error is being caused because you are running php5 on your server, where this mod was intended for php4.

Try what I wrote in my previous post and see of that takes care of it.

dave9720 03-30-2008 09:17 PM

Quote:

Originally Posted by dancue (Post 1469977)
The array error is being caused because you are running php5 on your server, where this mod was intended for php4.

Try what I wrote in my previous post and see of that takes care of it.

Thank you again for your help dancue. Found the problem in another application that was running on site. All good now! Let me know if you have any luck in editing users title to show on forum for this application. Again Thanks Dave:up:

bayareamommas 03-31-2008 12:41 AM

mine isn't working....just show a box at the end of the page with nothing in it?

GYSMO 03-31-2008 01:59 AM

Quote:

Originally Posted by dancue (Post 1467484)
Let me know if it works for you. I still haven't figured it out.

got to wait on this one I did installed it few weeks ago and had to see and still waiting on originals ownner to discribe me a bug that am having on ... disableing it seem to be the only cure to it

I am very surprised on delay is taking maria to fix this bug

ronnie2112 04-02-2008 05:08 PM

I am still getting this error:

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1259) : eval()'d code on line 5
Im confused as to how to fix it. I tried doing this below but it did not work:

Try changing this in the plugin named "Show Meet our team at forum home page":

$tmp = unserialize($user["phrasegroup_siteteam"]);

To this:

$tmp[] = unserialize($user["phrasegroup_siteteam"]);


I know that the error began and is caused by this plugin "Site Team Version 1.1.0 for VB version 3.6.8, I am also using PHP5 if that helps.....

Where or what do I look for to edit and in which files to fix this error or stop it from being thrown. The Plugin actually functions, I just get the error code seen at the top of the forum page. If I turn off the SiteTeam plugin or make it in-active then the error goes away. It also started giving me that error right after I installed the plugin "SiteTeam v1.1.0" so I am certain that this is where the problem lies correct?

So what exactly do I edit to fix this? Im very confused.

Thank you!

dancue 04-02-2008 06:12 PM

Quote:

Originally Posted by ronnie2112 (Post 1481116)
I am still getting this error:

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1259) : eval()'d code on line 5
Im confused as to how to fix it. I tried doing this below but it did not work:

Try changing this in the plugin named "Show Meet our team at forum home page":

$tmp = unserialize($user["phrasegroup_siteteam"]);

To this:

$tmp[] = unserialize($user["phrasegroup_siteteam"]);


I know that the error began and is caused by this plugin "Site Team Version 1.1.0 for VB version 3.6.8, I am also using PHP5 if that helps.....

Where or what do I look for to edit and in which files to fix this error or stop it from being thrown. The Plugin actually functions, I just get the error code seen at the top of the forum page. If I turn off the SiteTeam plugin or make it in-active then the error goes away. It also started giving me that error right after I installed the plugin "SiteTeam v1.1.0" so I am certain that this is where the problem lies correct?

So what exactly do I edit to fix this? Im very confused.

Thank you!

  • Go to Plugins and Products on the left hand side of your admincp.
  • Go to Plugin Manager and search for the plug-in titled "Show Meet our team at forum home page"
  • Click on the title or the word edit.
  • In the field titled "Plugin PHP Code" you will find the php code where you will need to look for the following:
    Code:

    $tmp = unserialize($user["phrasegroup_siteteam"]);
  • Replace with the following:
    Code:

    $tmp[] = unserialize($user["phrasegroup_siteteam"]);
  • Make sure the plugin is set to active status and save. That should be it.

If what you are saying is that you did the above already and it did not work, then I don't know what to tell you. I am running this on PHP5 right now with 3.7 RC1. I was also running it on PHP5 3.6.8, and it was working just fine as well.


All times are GMT. The time now is 07:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01603 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete