MyBB Community Forums

Full Version: Steam Plugin error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
this error showing me on top

website : www.oldschool-cs.info


[code][code]The following warnings occurred:
Warning [2] strpos() [function.strpos]: Empty needle - Line: 160 - File: inc/plugins/mysteam.php PHP 5.3.27 (Linux)
File	Line	Function
[PHP]	 	errorHandler->error
/inc/plugins/mysteam.php	160	strpos
/inc/class_plugins.php	101	mysteam_build_list
/global.php	736	pluginSystem->run_hooks
/index.php	18	require_once
[/code][/code]
Moved to Plugin Support.
i need solution :/
Can you post the contents of inc/plugins/mysteam.php in php tags please?
Add
	if(empty($username_clean) || empty($steamname_clean)) 
				continue;

Above the line in mystream.php
if (strpos($steamname_clean, $username_clean) === FALSE && strpos($username_clean, $steamname_clean) === FALSE)
fix it pls
please HELP ME Sad i need to fix it
(2014-07-07, 05:49 PM)Klevron Wrote: [ -> ]please HELP ME Sad i need to fix it

http://paste.ee/p/uxwY7