vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Automatic Tagger From Message Content and Title (https://vborg.vbsupport.ru/showthread.php?t=234026)

Terrablade 09-30-2014 03:00 AM

Warning: str_split() expects parameter 2 to be long, string given in ..../includes/functions_autotaggerfromcontentandtitle.php on line 13

Warning: str_split() expects parameter 2 to be long, string given in ..../includes/functions_autotaggerfromcontentandtitle.php on line 85

Warning: array_diff() [function.array-diff]: Argument #1 is not an array in ..../includes/functions_autotaggerfromcontentandtitle.php on line 130

Warning: Invalid argument supplied for foreach() in ..../includes/functions_autotaggerfromcontentandtitle.php on line 134

I added the fix Ozzy talked about in line 13 and 85 but these warnings now pop up

Hex_legend 10-28-2014 09:04 AM

It's not working properly here as well :(

When i have the default files installed, users get many lines of the following error (the page is finally loading after a user submits a new thread though and all those lines with the error are disappearing):
Deprecated: Function split() is deprecated in /home/my_user/public_html/includes/functions_autotaggerfromcontentandtitle.php on line 85

When i try ozzy47's fix the page stuck and displays forever many lines with the following error:
Warning: str_split() expects parameter 2 to be long, string given in /home/my_user/public_html/includes/functions_autotaggerfromcontentandtitle.php on line 85

I have noticed a pattern though. Users get all those errors, only when they try to create a new thread on a section that new threads require validation before they are displayed. On the rest sections the plugin is working without any problems/errors!

Hex_legend 10-28-2014 04:39 PM

I suppose excluding some forums from the Automatic Tagger would help me until a permanent solution is found. Is there a way to exclude certain forums?

rrhill 11-22-2014 04:40 AM

Sadly enough I have to disable this brilliant plugin. After the upgrade to 4.2 it reports errors, that lead to double posts.

https://vborg.vbsupport.ru/external/2014/11/9.jpg

MoveOver.cc 12-09-2014 01:06 PM

Hi,

I am getting this error after I "Add Tags to All Threads"

Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery() should be compatible with vB_Model::getLoadQuery($required_query = '', $force_rebuild = false) in ..../packages/vbforum/item/socialgroupmessage.php on line 261

Warning: Declaration of vBForum_Item_SocialGroupDiscussion::getLoadQuery() should be compatible with vB_Model::getLoadQuery($required_query = '', $force_rebuild = false) in ..../packages/vbforum/item/socialgroupdiscussion.php on line 337

Any ideas.

Thanks

alexkohler 12-14-2014 02:34 PM

Quote:

Originally Posted by Terrablade (Post 2516999)
Warning: str_split() expects parameter 2 to be long, string given in ..../includes/functions_autotaggerfromcontentandtitle.php on line 13

Warning: str_split() expects parameter 2 to be long, string given in ..../includes/functions_autotaggerfromcontentandtitle.php on line 85

Warning: array_diff() [function.array-diff]: Argument #1 is not an array in ..../includes/functions_autotaggerfromcontentandtitle.php on line 130

Warning: Invalid argument supplied for foreach() in ..../includes/functions_autotaggerfromcontentandtitle.php on line 134

I added the fix Ozzy talked about in line 13 and 85 but these warnings now pop up

This fix can?t work.

Try to replace

line 13 with

PHP Code:

return explode(' '$text); 

line 85 with

PHP Code:

return explode(','$csv); 

.

Line 130 and 134 should be o.k. then.

(Not tested).

Dennis Kaczor 01-13-2015 12:30 PM

Quote:

Originally Posted by alexkohler (Post 2527166)
This fix can?t work.

Try to replace

line 13 with

PHP Code:

return explode(' '$text); 

line 85 with

PHP Code:

return explode(','$csv); 

.

Line 130 and 134 should be o.k. then.

(Not tested).

Thanks for this information, this fixed the error message and I thank you for that.

Dennis

Hex_legend 01-16-2015 04:47 PM

I have some good news. I hope it will work for some other users as well.

I just set PHP Compatability to yes and i don't get any errors.

admincp/options/plugin hook system/set PHP Compatability to yes and save!

MistViper 01-17-2015 10:30 PM

I just installed it and I got this error when trying to test it, please let me know as to how I can fix this.

Warning: require_once(..../includes/functions_autotaggerfromcontentandtitle.php) [function.require-once]: failed to open stream: No such file or directory in ..../includes/functions_newpost.php(814) : eval()'d code on line 2

Fatal error: require_once() [function.require]: Failed opening required '/home/mistvipe/public_html/forum/includes/functions_autotaggerfromcontentandtitle.php' (include_path='.:/usr/local/php53/pear') in /home/mistvipe/public_html/forum/includes/functions_newpost.php(814) : eval()'d code on line 2

ozzy47 01-17-2015 10:35 PM

It appears as if you have uploaded the files incorrectly.
Please drag and drop the contents of the upload folder (use Ctrl+A to select all files) to your public_html folder. http://ozzmodz.com/images/smilies/smile.png


All times are GMT. The time now is 02:43 AM.

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.01566 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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