StreamBuffer.php Unexpected contents

Nulled2

VIP Member
V.I.P Member
Registered
Joined
Dec 10, 2019
Messages
211
Points
38

Reputation:

Edit the file and then it was bothering me with this
**src / vendor / swiftmailer / swiftmailer / lib / classes / Swift / Transport / StreamBuffer.php Unexpected contents
I came to Github copy the code here and replace it with the one I had

and now I get this error:
Fatal error: Class Swift_Transport_StreamBuffer contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Swift_ByteStream_AbstractFilterableInputStream :: _ commit, Swift_ByteStream_AbstractFilterableInputStream / swift / librift / vendor / vendor / swift / libc /StreamBuffer.php on line 16**

Steps to reproduce the behavior:
When I go to my website page with xenforo 2.x

/admin.php?tools/test-email

I tried to copy the original code from github but it marks error

and I do not know what to do anymore

Somebody could help me? :(

I don't have a backup before the change :(
 

EvilBoy

Member
Registered
Joined
Feb 4, 2020
Messages
20
Points
3

Reputation:

Which version of XenForo have you installed?
Why did you changed that file?

What have you executed before you run into the first issue?
 

Nulled2

VIP Member
V.I.P Member
Registered
Joined
Dec 10, 2019
Messages
211
Points
38

Reputation:

Xenforo 2.1.7

I edited the file because I had problems with the mail and it turned out only to be a configuration problem but I had already moved it there and I didn't know that I moved it, so instead of going erasing line by line until I found the bug, I went copy the original From Github but nothing more worse all xd

The problem comes to me when I'm going to do email testing on my site

And consequently I guess no email arrives on my site, although I haven't checked for it yet xd
 

EvilBoy

Member
Registered
Joined
Feb 4, 2020
Messages
20
Points
3

Reputation:

Why not restoring the files from your Xenforo Zip Archive or extracting them and compare it to the your current files, so that you can see what has been changed.
 

Nulled2

VIP Member
V.I.P Member
Registered
Joined
Dec 10, 2019
Messages
211
Points
38

Reputation:

@EvilBoy
Screenshot_219.png


You are amazing!

It worked!
 

Nulled2

VIP Member
V.I.P Member
Registered
Joined
Dec 10, 2019
Messages
211
Points
38

Reputation:

@EvilBoy First restore but i was still in a glitch

Then I unzipped the original xenphore and took out the missing file and replaced it with the original and it worked
 
Top