Error on Write with \Cache.php
Closed this issue · 2 comments
carlos-andres commented
Good Day, i´m try to using this simple example
https://phpseclib.com/manual/cross-site-request-forgery.html
then when i try to run file, i get this error:
Fatal error: Call to a member function write() on a non-object in C:\WebSites\Estado_del_tramite\vendor\phpsec\phpsec\lib\phpSec\Common\Cache.php on line 62
[code]
validate('myform', $_POST['token'])) { echo "Valid token!"; /* Do stuff with POST data. */ } else { echo "Invalid token!"; } } /* Get one-time token and display form. */ echo ""; echo ""; echo ""; echo ""; ``` [/code]xqus commented
Hi,
Is this still an issue?
carlos-andres commented
It´s close with the new releases fix the error..
thanks :D