XF2 [8WR] Database Backup

XF2 [8WR] Database Backup [Paid] 2.3.0.1

No permission to buy ($10.00)
I just tried to install the latest update and got completely logged out from my forum

An unexpected error occurred. Please try again later.

how do I get access to it again??

What XF, addon and PHP version are you running?
 
Seems Promlem with XF2.2.16 P2

PHP version 8.2.20
MySQL version 10.11.6 (10.11.6-MariaDB-0+deb12u1)
Server software Apache/2.4.61

On New User Registration

Oops! We ran into some problems. Please try again later. More error details may be in the browser console.

Error Log:


Code:
Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
A moment ago src\XF\Http\Stream.php:33

Code:
ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int src\XF\Http\Stream.php:33
Generated by: Unknown account Jul 20, 2024 at 9:53 AM

Code:
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}


Code:
Request state
C:\Temp\WampServer\www\mydomain\src\XF\Debugger.php:44:
array(4) {
  'url' =>
  string(36) "/mydomain/login/register-register"
  'referrer' =>
  string(29) "http://127.0.0.1/mydomain/"
  '_GET' =>
  array(0) {
  }
  '_POST' =>
  array(13) {
    '_xfToken' =>
    string(8) "********"
    'username' =>
    string(0) ""
    'abbedce48cbf06cbe322d2d5ea0505b32e8f301d' =>
    string(5) "TestUser"
    '6e42d2e74ac4d2891c9224ce78aabb5f1406258e' =>
    string(0) ""
    'f64a5ec6ddf5681941e16d12dc5525523bfd8352' =>
    string(23) "testuser@gmail.com"
    'password' =>
    string(8) "********"
    '72b24364ba738d9cb60f363a6f1d2224bc753ac6' =>
    string(8) "********"
    'reg_key' =>
    string(16) "ug9D86gF3DuTumPZ"
    'abac215f56520e373d80495ff059d26000235efd' =>
    string(16) "Europe/Amsterdam"
    'timetaken' =>
    string(6) "16.588"
    '_xfRequestUri' =>
    string(13) "/mydomain/"
    '_xfWithData' =>
    string(1) "1"
    '_xfResponseType' =>
    string(4) "json"
  }
}
 
Seems Promlem with XF2.2.16 P2

PHP version 8.2.20
MySQL version 10.11.6 (10.11.6-MariaDB-0+deb12u1)
Server software Apache/2.4.61

On New User Registration

Oops! We ran into some problems. Please try again later. More error details may be in the browser console.

Error Log:


Code:
Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
A moment ago src\XF\Http\Stream.php:33

Code:
ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int src\XF\Http\Stream.php:33
Generated by: Unknown account Jul 20, 2024 at 9:53 AM

Code:
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}


Code:
Request state
C:\Temp\WampServer\www\mydomain\src\XF\Debugger.php:44:
array(4) {
  'url' =>
  string(36) "/mydomain/login/register-register"
  'referrer' =>
  string(29) "http://127.0.0.1/mydomain/"
  '_GET' =>
  array(0) {
  }
  '_POST' =>
  array(13) {
    '_xfToken' =>
    string(8) "********"
    'username' =>
    string(0) ""
    'abbedce48cbf06cbe322d2d5ea0505b32e8f301d' =>
    string(5) "TestUser"
    '6e42d2e74ac4d2891c9224ce78aabb5f1406258e' =>
    string(0) ""
    'f64a5ec6ddf5681941e16d12dc5525523bfd8352' =>
    string(23) "testuser@gmail.com"
    'password' =>
    string(8) "********"
    '72b24364ba738d9cb60f363a6f1d2224bc753ac6' =>
    string(8) "********"
    'reg_key' =>
    string(16) "ug9D86gF3DuTumPZ"
    'abac215f56520e373d80495ff059d26000235efd' =>
    string(16) "Europe/Amsterdam"
    'timetaken' =>
    string(6) "16.588"
    '_xfRequestUri' =>
    string(13) "/mydomain/"
    '_xfWithData' =>
    string(1) "1"
    '_xfResponseType' =>
    string(4) "json"
  }
}
I seem to be getting these also but it is blocking image linking among other things. I uninstalled for now and the error is not reproduced.
XF 2.2.16pl2
PHP 8.2.21
MYSQL 8.0.38

Server error log
  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 4:38 AM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(153) "/community/proxy.php?image=https%3A%2F%2Fuploads.tapatalk-cdn.com%2F20240720%2F18f7215273b6c48a0a3bd4a7e4c492db.jpg&hash=bfc456891671dd1c9e748c86bf22bfe4"
["referrer"] => string(150) "https://jeep-cj.com/community/threads/belizean’s-after-retirement-excursions-took-40-years-after-buying-my-jeep-cj7-off-the-truck.76768/page-6"
["_GET"] => array(2) {
["image"] => string(78) "https://uploads.tapatalk-cdn.com/20240720/18f7215273b6c48a0a3bd4a7e4c492db.jpg"
["hash"] => string(32) "bfc456891671dd1c9e748c86bf22bfe4"
}
["_POST"] => array(0) {
}
}
 
If you're on PHP 8 and you lose access to your forum, add the following to your config.php:
Code:
$config['enableListeners'] = false;

Then disable the addon until the next release I put out fixes the issue.
 
Jaxel updated XF2 [8WR] Database Backup with a new update entry:

2.1.1.0 - CHANGELOG

  • BUG FIX: The Amazon AWS SDK has been updated to remove the abandoned Tightenco library.
This version and all future versions now requires PHP 8.1+ to function. The recommended PHP version for XF is now PHP 8.3, so this requirement is keeping in line with maintenance.

If you installed the previous version of this addon, on PHP 8.1+ and have lost access to your forum, add the following to your config.php:
Code:
$config['enableListeners'] = false;
Remove the...

Read the rest of this update entry...
 
Installed then removed. Stopped linked and gallery images from loading. @Jaxel

Server error log
  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 4:27 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(153) "/community/proxy.php?image=https%3A%2F%2Fuploads.tapatalk-cdn.com%2F20240720%2F7192b6714a6a537e83e4ef9b2c852dca.jpg&hash=5d0ba96acc2df9246a264e6e45ef0425"
["referrer"] => string(150) "https://jeep-cj.com/community/threa...buying-my-jeep-cj7-off-the-truck.76768/page-7"
["_GET"] => array(2) {
["image"] => string(78) "https://uploads.tapatalk-cdn.com/20240720/7192b6714a6a537e83e4ef9b2c852dca.jpg"
["hash"] => string(32) "5d0ba96acc2df9246a264e6e45ef0425"
}
["_POST"] => array(0) {
}
}

****************************

ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int src/XF/Http/Stream.php:33
Generated by: Unknown account Jul 20, 2024 at 2:44 PM
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(148) "/community/proxy.php?image=http%3A%2F%2Fwww.jeep-cj.com%2Fgallery%2Ffiles%2F5%2F0%2F4%2F4%2Fimg_0417_thumb.jpg&hash=ee8471de893eda667830a34a80e483e1"
["referrer"] => string(57) "https://jeep-cj.com/community/threads/best-starter.40442/"
["_GET"] => array(2) {
["image"] => string(63) "http://www.jeep-cj.com/gallery/files/5/0/4/4/img_0417_thumb.jpg"
["hash"] => string(32) "ee8471de893eda667830a34a80e483e1"
}
["_POST"] => array(0) {
}
}

*****************

  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 2:46 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(118) "/community/proxy.php?image=http%3A%2F%2Fzeroonephoto.com%2Fglen%2Fdriverside.jpg&hash=5c8dc42d406b422a0a19866ff51107e0"
["referrer"] => string(76) "https://jeep-cj.com/community/threads/body-indentation-by-drivers-door.2160/"
["_GET"] => array(2) {
["image"] => string(43) "http://zeroonephoto.com/glen/driverside.jpg"
["hash"] => string(32) "5c8dc42d406b422a0a19866ff51107e0"
}
["_POST"] => array(0) {
}
}
 
Last edited:
Installed then removed. Stopped linked and gallery images from loading. @Jaxel

Server error log
  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 4:27 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(153) "/community/proxy.php?image=https%3A%2F%2Fuploads.tapatalk-cdn.com%2F20240720%2F7192b6714a6a537e83e4ef9b2c852dca.jpg&hash=5d0ba96acc2df9246a264e6e45ef0425"
["referrer"] => string(150) "https://jeep-cj.com/community/threa...buying-my-jeep-cj7-off-the-truck.76768/page-7"
["_GET"] => array(2) {
["image"] => string(78) "https://uploads.tapatalk-cdn.com/20240720/7192b6714a6a537e83e4ef9b2c852dca.jpg"
["hash"] => string(32) "5d0ba96acc2df9246a264e6e45ef0425"
}
["_POST"] => array(0) {
}
}

****************************

ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int src/XF/Http/Stream.php:33
Generated by: Unknown account Jul 20, 2024 at 2:44 PM
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(148) "/community/proxy.php?image=http%3A%2F%2Fwww.jeep-cj.com%2Fgallery%2Ffiles%2F5%2F0%2F4%2F4%2Fimg_0417_thumb.jpg&hash=ee8471de893eda667830a34a80e483e1"
["referrer"] => string(57) "https://jeep-cj.com/community/threads/best-starter.40442/"
["_GET"] => array(2) {
["image"] => string(63) "http://www.jeep-cj.com/gallery/files/5/0/4/4/img_0417_thumb.jpg"
["hash"] => string(32) "ee8471de893eda667830a34a80e483e1"
}
["_POST"] => array(0) {
}
}

*****************

  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 2:46 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(118) "/community/proxy.php?image=http%3A%2F%2Fzeroonephoto.com%2Fglen%2Fdriverside.jpg&hash=5c8dc42d406b422a0a19866ff51107e0"
["referrer"] => string(76) "https://jeep-cj.com/community/threads/body-indentation-by-drivers-door.2160/"
["_GET"] => array(2) {
["image"] => string(43) "http://zeroonephoto.com/glen/driverside.jpg"
["hash"] => string(32) "5c8dc42d406b422a0a19866ff51107e0"
}
["_POST"] => array(0) {
}
}
I don't think that error is related to this addon.
 
I never acknowledged that error. This addon does not hook into the registration system and the stack trace doesn't mention this addon.
OK and thanks for looking into this (this is the only new addon), but...
As soon as I reinstalled the errors began to return (and when removed they stop. A conflict perhaps? I know your swamped with all the XF 2.3 changes.)

Before addon: (the edited file is for XFMG Album display)
beforebu.webp
beforebu1.webp

After addon installed:
afterbu.webp
afterbu1.webp

My settings:
bus1.webp

bus2.webp

bus3.webp

bus4.webp

bus5.webp

The errors:

  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 6:42 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(153) "/community/proxy.php?image=https%3A%2F%2Fuploads.tapatalk-cdn.com%2F20180818%2Fa27a40fe049b339c96602f7cbd1668ae.jpg&hash=58b845967fec75910c134ce6cd1bb2e7"
["referrer"] => string(63) "https://jeep-cj.com/community/threads/4-0-head-swap-help.60500/"
["_GET"] => array(2) {
["image"] => string(78) "https://uploads.tapatalk-cdn.com/20180818/a27a40fe049b339c96602f7cbd1668ae.jpg"
["hash"] => string(32) "58b845967fec75910c134ce6cd1bb2e7"
}
["_POST"] => array(0) {
}
}

****************************
  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 6:56 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(148) "/community/proxy.php?image=http%3A%2F%2Fwww.jeep-cj.com%2Fgallery%2Ffiles%2F1%2F1%2F9%2F3%2Fimg_1058_thumb.jpg&hash=23a299d3009ff03bee21ba388c6fa46d"
["referrer"] => string(91) "https://jeep-cj.com/community/threads/cj5-seats-i-know-its-already-been-talked-about.19239/"
["_GET"] => array(2) {
["image"] => string(63) "http://www.jeep-cj.com/gallery/files/1/1/9/3/img_1058_thumb.jpg"
["hash"] => string(32) "23a299d3009ff03bee21ba388c6fa46d"
}
["_POST"] => array(0) {
}
}
 
OK and thanks for looking into this (this is the only new addon), but...
As soon as I reinstalled the errors began to return (and when removed they stop. A conflict perhaps? I know your swamped with all the XF 2.3 changes.)

Before addon: (the edited file is for XFMG Album display)
View attachment 306669
View attachment 306670

After addon installed:
View attachment 306671
View attachment 306672

My settings:
View attachment 306673

View attachment 306674

View attachment 306675

View attachment 306676

View attachment 306678

The errors:

  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 6:42 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(153) "/community/proxy.php?image=https%3A%2F%2Fuploads.tapatalk-cdn.com%2F20180818%2Fa27a40fe049b339c96602f7cbd1668ae.jpg&hash=58b845967fec75910c134ce6cd1bb2e7"
["referrer"] => string(63) "https://jeep-cj.com/community/threads/4-0-head-swap-help.60500/"
["_GET"] => array(2) {
["image"] => string(78) "https://uploads.tapatalk-cdn.com/20180818/a27a40fe049b339c96602f7cbd1668ae.jpg"
["hash"] => string(32) "58b845967fec75910c134ce6cd1bb2e7"
}
["_POST"] => array(0) {
}
}

****************************
  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:33
  • Generated by: Unknown account
  • Jul 20, 2024 at 6:56 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(148) "/community/proxy.php?image=http%3A%2F%2Fwww.jeep-cj.com%2Fgallery%2Ffiles%2F1%2F1%2F9%2F3%2Fimg_1058_thumb.jpg&hash=23a299d3009ff03bee21ba388c6fa46d"
["referrer"] => string(91) "https://jeep-cj.com/community/threads/cj5-seats-i-know-its-already-been-talked-about.19239/"
["_GET"] => array(2) {
["image"] => string(63) "http://www.jeep-cj.com/gallery/files/1/1/9/3/img_1058_thumb.jpg"
["hash"] => string(32) "23a299d3009ff03bee21ba388c6fa46d"
}
["_POST"] => array(0) {
}
}
In XF\Http\Stream
Replace line 27
Code:
	public function write($string)
With:
Code:
	public function write(string $string): int
 
In XF\Http\Stream
Replace line 27
Code:
    public function write($string)
With:
Code:
    public function write(string $string): int
Edit has been completed and reinstalled. Is this a core XF issue?

Edit: This is a core XF file. Should this be reported as a bug? (Image from file health check)
stream2.webp
 
Last edited:
Back
Top Bottom