• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • strpos(): Non-string needles will be interpreted as strings in the future.

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: strpos(): Non-string needles will be interpreted as strings in the future.

    • Issue Tools
      • View Changes
    1. issueid=5682 March 23, 2019 1:19 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      strpos(): Non-string needles will be interpreted as strings in the future.

      An exception occurred: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /vault/core/model/encode/vw.php on line 442
      1. XenForo_Application::handlePhpError()
      2. strpos() in /vault/core/model/encode/vw.php at line 442
      3. vw_Encode_Model->hex_to_unicode() in /vault/core/model/encode/vw.php at line 264
      4. vw_Encode_Model->add_utf8_rules() in /vault/core/model/encode/vw.php at line 198
      5. vw_Encode_Model->fetch_replacement_list() in /vault/core/model/encode/vw.php at line 54
      6. vw_Encode_Model->encode() in /vault/core/controller/route/xf.php at line 63
      7. vw_Route_Controller_XF->resolve_path() in vw/XenForo/Route/Prefix/vw.php at line 138
      8. vw_XenForo_Route_Prefix_vw->match() in XenForo/Router.php at line 72
      9. XenForo_Router->match() in XenForo/Dependencies/Abstract.php at line 107
      10. XenForo_Dependencies_Abstract->route() in XenForo/FrontController.php at line 307
      11. XenForo_FrontController->route() in XenForo/FrontController.php at line 148
      12. XenForo_FrontController->run() in /index.php at line 13

      This error appeared after the latest PHP update. We are running PHP 7.3.3
      The site only works if I turn off VW.
    Issue Details
    Issue Number 5682
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.25
    Fixed Version 4.1.0 Beta 1
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 23, 2019 3:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      Alternatively the site should work if you turn off debug mode, as this is a low severity E_DEPRECATED message.
      Reply Reply  
    2. March 24, 2019 10:49 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. In vault/core/model/encode/vw.php, find:
      Code:
      $hex_len = strlen($hex);
      BEFORE it, add:
      Code:
      $hex = strval($hex);
      Reply Reply  
    3. March 24, 2019 11:38 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thanks!
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 4:56 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.