Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Z-Push php8.1 problem

    General usage of Z-Push
    2
    4
    763
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kordian
      Kordian last edited by

      Hello,
      When switching to php8.1 from 7.4, my z-push returns an error:
      06/09/2022 11:43:04 [379496] [FATAL] Fatal error: /z-push/lib/wbxml/wbxmlencoder.php:174 - Uncaught TypeError: stream_filter_append(): Argument #1 ($stream) must be of type resource, string given in /z-push/lib/wbxml/wbxmlencoder.php:174
      Could someone help?
      Any php package missing?
      Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • bob4os
        bob4os last edited by

        Z-Push has not been updated to work with PHP8 and above.
        PHP7.4 it is…

        1 Reply Last reply Reply Quote 0
        • Kordian
          Kordian last edited by

          Thank you. Are there any plans to do so?

          Kordian 1 Reply Last reply Reply Quote 0
          • Kordian
            Kordian @Kordian last edited by

            @kordian
            Here the full log:
            06/09/2022 11:43:04 [379496] [FATAL] [] Fatal error: /z-push/lib/wbxml/wbxmlencoder.php:174 - Uncaught TypeError: stream_filter_append(): Argument #1 ($stream) must be of type resource, string given in /z-push/lib/wbxml/wbxmlencoder.php:174
            Stack trace:
            #0 /z-push/lib/wbxml/wbxmlencoder.php(174): stream_filter_append()
            #1 /z-push/lib/core/streamer.php(327): WBXMLEncoder->contentStream()
            #2 /z-push/lib/core/streamer.php(252): Streamer->Encode()
            #3 /z-push/lib/core/streamimporter.php(171): Streamer->Encode()
            #4 /z-push/lib/default/diffbackend/exportchangesdiff.php(166): ImportChangesStream->ImportMessageChange()
            #5 /z-push/lib/request/sync.php(1199): ExportChangesDiff->Synchronize()
            #6 /z-push/lib/request/sync.php(956): Sync->syncFolder()
            #7 /z-push/lib/request/requestprocessor.php(116): Sync->Handle()
            #8 /z-push/index.php(107): RequestProcessor::HandleRequest()
            #9 {main}
            thrown (1)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post