Severity: Warning Message: unserialize() has been disabled for security reasons

SK Sabbir Ali

www.protechtion.in

Error Message

Severity: Warning Message: unserialize() has been disabled for security reasons

Please resolve the issue asap.

I do believe that unserialize is disabled due to security reasons/issues, as for the issues, there are multiple websites explaining why it should be disabled, also why do you need it?

Does this apply to your account too?

I have changed to PHP v5.6 but still getting error. I have tried to change other PHP Version. But getting error. Please help me out.

A PHP Error was encountered

Severity: Warning

Message: unserialize() has been disabled for security reasons

Filename: drivers/Cache_file.php

Line Number: 275

Backtrace:

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 263
Function: get

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 204
Function: _compile

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/controllers/Frontend.php
Line: 93
Function: render

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/index.php
Line: 334
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unserialize() has been disabled for security reasons

Filename: drivers/Cache_file.php

Line Number: 275

Backtrace:

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 263
Function: get

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 334
Function: _compile

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 60
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 205
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/controllers/Frontend.php
Line: 93
Function: render

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/index.php
Line: 334
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unserialize() has been disabled for security reasons

Filename: drivers/Cache_file.php

Line Number: 275

Backtrace:

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/helpers/frontenddata_helper.php
Line: 77
Function: get

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 11
Function: get_backend

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 335
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 60
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 205
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/controllers/Frontend.php
Line: 93
Function: render

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/index.php
Line: 334
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unserialize() has been disabled for security reasons

Filename: drivers/Cache_file.php

Line Number: 275

Backtrace:

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/helpers/frontenddata_helper.php
Line: 85
Function: get

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 11
Function: get_backend

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 335
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 60
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 205
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/controllers/Frontend.php
Line: 93
Function: render

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/index.php
Line: 334
Function: require_once

https://protechtion.in/uploads/images/">

A PHP Error was encountered

Severity: Warning

Message: unserialize() has been disabled for security reasons

Filename: drivers/Cache_file.php

Line Number: 275

Backtrace:

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 263
Function: get

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 334
Function: _compile

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 14
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 335
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 60
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 205
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/controllers/Frontend.php
Line: 93
Function: render

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/index.php
Line: 334
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unserialize() has been disabled for security reasons

Filename: drivers/Cache_file.php

Line Number: 275

Backtrace:

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 263
Function: get

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 334
Function: _compile

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 18
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 335
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 60
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 205
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/controllers/Frontend.php
Line: 93
Function: render

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/index.php
Line: 334
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unserialize() has been disabled for security reasons

Filename: drivers/Cache_file.php

Line Number: 275

Backtrace:

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/helpers/frontenddata_helper.php
Line: 77
Function: get

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 6
Function: get_backend

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 335
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 18
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 335
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 60
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 205
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/controllers/Frontend.php
Line: 93
Function: render

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/index.php
Line: 334
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unserialize() has been disabled for security reasons

Filename: drivers/Cache_file.php

Line Number: 275

Backtrace:

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/helpers/frontenddata_helper.php
Line: 85
Function: get

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 6
Function: get_backend

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 335
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 18
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 335
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php(313) : eval()'d code
Line: 60
Function: _include

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 313
Function: eval

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/libraries/Blade.php
Line: 205
Function: _run

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/controllers/Frontend.php
Line: 93
Function: render

File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/index.php
Line: 334
Function: require_once

[

A PHP Error was encountered

Severity: Warning
Message: unserialize() has been disabled for security reasons
Filename: drivers/Cache_file.php
Line Number: 275
Backtrace:
File: /home/vol14_2/epizy.com/epiz_25184536/protechtion.in/htdocs/mvc/helpers/frontenddata_helper.php
Line: 77
Function: get
File:

you should change it to the newest PHP version (7.4)

2 Likes

I did some more investigation and it seems that the unserialize function in PHP 5 has a security vulnerability. This vulnerability was fixed in a newer version of PHP 5.6 than we offer. This is most likely why the function was disabled in every PHP version except for PHP 7.4.

I can check with iFastNet whether they have any plans to update the version of PHP 5.6 we offer to the most recent version so this function can be enabled.

But if it’s possible, you should try to run your website on PHP 7.4 if you can, because PHP 5 won’t be around forever.

5 Likes

My website doesn’t work on 7.4. It is based on PHP v5.6. I have tried to run on V7.3 and upper. But not working. Please help me on this.

When your site doesn’t work with newer version of PHP, it means it’s outdated and you’ve to either update it or match it with newer versions of PHP.

PHP 5.6 was released at 2012 but it is 2020 now. which means older versions will expire later and nomore will be used in future.

4 Likes

You cannot say that it is out dated. I agree with you also. It will not work only where there server is running only PHP V7.0 or higher. But server has the lower version and it was running. It has stopped work from last 2 days.

It stopped working because we found out that there was a big security hole in the PHP unserialize function. The fix for this issue was created after PHP 5.6 was end of life, so no patch was created for these older PHP versions.

We upgraded to PHP 7.4 to fix this issue in the PHP 7.x version we offer. However, no such fix exists for older PHP versions, which is why disabling this function is our only option.

I understand it’s frustrating that your website broke just like that. But we can’t restore this function on PHP 5, knowing that doing so means we are not able to protect the confidentiality and integrity of websites hosted with us.

So you have a few options here:

  • Make your software work with PHP 7.4, or migrate to software which does work with PHP 7 already.
  • Edit your software so it doesn’t use the unserialize function anymore.
  • Switch to premium hosting, which uses HardenedPHP and other security systems which means the unserialize function doesn’t need to be disabled there.

And please understand that software is not something you can just set up once and forget about it. Software always has to be maintained, fixed and updated. Software which is no longer being updated will become unusable at some point.

5 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.