Title: PHP error
Last modified: March 26, 2019

---

# PHP error

 *  Resolved [andrealopezhuu](https://wordpress.org/support/users/andrealopezhuu/)
 * (@andrealopezhuu)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-315/)
 * Hello,
 * I would like to report an issue that I’ve found in the DocCheck plugin allocated
   in the WordPress repository.
 * My website has WordPress with the latest updates, but when I install your DocCheck
   plugin and add the credentials it raises a PHP error with the following “Warning:
   session_set_cookie_params(): Cannot change session cookie parameters when session
   is active in […]\wp-content\plugins\doccheck-login\includes\class-dcl-base.php
   on line 262” and doesn’t get the correct tokens from DocCheck API.
 * I’ve updated the plugin code and finally I get it working but I don’t think that
   this could be the best practice, as I’m afraid that if there is an update of 
   the plugin in the future, our fix will disappear. Please, could you advise how
   to solve this issue?
 * Thanks,
    Andrea

Viewing 1 replies (of 1 total)

 *  Plugin Author [DocCheck agency (antwerpes)](https://wordpress.org/support/users/antwerpes/)
 * (@antwerpes)
 * [7 years ago](https://wordpress.org/support/topic/php-error-315/#post-11575311)
 * Hi Andrea,
 * We are about to fix the issue that is causing the mentioned warning and release
   a new version of the DocCheck Login soon.
 * Please get back to us if you have any further questions or problems updating 
   the plugin.
 * antwerpes

Viewing 1 replies (of 1 total)

The topic ‘PHP error’ is closed to new replies.

 * ![](https://ps.w.org/doccheck-login/assets/icon-256x256.jpg?rev=1721320)
 * [DocCheck Login](https://wordpress.org/plugins/doccheck-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/doccheck-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/doccheck-login/)
 * [Active Topics](https://wordpress.org/support/plugin/doccheck-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/doccheck-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/doccheck-login/reviews/)

## Tags

 * [not working](https://wordpress.org/support/topic-tag/not-working/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [DocCheck agency (antwerpes)](https://wordpress.org/support/users/antwerpes/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/php-error-315/#post-11575311)
 * Status: resolved