• Resolved alx359

    (@alx359)


    I’m getting a lot of these PHP notices (WP_DEBUG=true), when renaming and re-titling at once a bunch of images:

    PHP Notice: unserialize(): Error at offset 13010 of 13032 bytes in D:\domains\wp.mydomain.com\wp-content\plugins\phoenix-media-rename\class-media-rename.php on line 255

    The incumbent line:

    static function unserialize_deep($var) {
    	while ( is_serialized($var) ) {
    255:		$var = unserialize($var);
    	}
    	return $var;
    }

    Related Discussion of a possible fix.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author crossi72

    (@crossi72)

    I’ll check as soon as possible, thanks for your feedback.

    C.

    Plugin Author crossi72

    (@crossi72)

    Hi alx359,
    I can’t reproduce the issue, which php version are you using?

    C.

    Thread Starter alx359

    (@alx359)

    PHP 7.1.10 on WAMP32/Win7x64

    Haven’t used the plugin for a while though. Please tell if can better help debugging this.
    Thanks.

    Plugin Author crossi72

    (@crossi72)

    I released a new version that fixes some warning generated by different data type management between php 7 and previous versions, let me know if you issue persists.

    Thanks for your feedback
    C.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Notice: unserialize(): Error at offset’ is closed to new replies.