Announcement

Collapse
No announcement yet.

error in posthistory with php 7.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    tortyNet
    Member

  • tortyNet
    replied
    I opened a Bug and provided the info there :-)

    Thanks for you help.
    tortyNet
    Member
    Last edited by tortyNet; Thu 23 Nov '17, 11:41am.

    Leave a comment:

  • Mark.B
    vBulletin Support

  • Mark.B
    replied
    What error are you actually seeing? What are the steps to reproduce?
    I cannot see any error when using post history on here, or on my demo site.

    You should not be editing any of the vBulletin php files as this is not supported and you may cause other things to break.

    If you do think you have found a bug, please report it in our bug tracker so the developers can have a look:
    http://tracker.vbulletin.com/secure/...91&issuetype=1
    Just fill in the SUMMARY and DESCRIPTION fields and add as much information as you can.

    Leave a comment:

  • tortyNet
    Member

  • tortyNet
    started a topic error in posthistory with php 7.1

    error in posthistory with php 7.1

    We came across an error in with latest VBulletin 5.3.4 and posthistory.

    I think we identified the error within the posthistory.php (there is a parameter missing on a function call)

    It would be cool if this could be patched in future releases.

    We added the following path to fix this and any other error where the limit is not set

    Code:
    Index: upload/core/vb/string.php
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    --- upload/core/vb/string.php    (revision 9726bd2cea466414f3c8c6caab805d4231cb0f8e)
    +++ upload/core/vb/string.php    (revision )
    @@ -464,7 +464,7 @@
          *
          * [USER="147035"]return[/USER]    string
          */
    -    public static function fetchWordWrappedString($text, $limit, $wraptext = ' ')
    +    public static function fetchWordWrappedString($text, $limit = 0, $wraptext = ' ')
         {
             $limit = intval($limit);
    Cheers

    Torsten
    Mark.B
    vBulletin Support
    Last edited by Mark.B; Thu 23 Nov '17, 8:42am. Reason: Test

Related Topics

Collapse

Working...
X