Title: PHP error &#8220;$this cannot be used in static methods&#8221;
Last modified: July 23, 2020

---

# PHP error “$this cannot be used in static methods”

 *  Resolved [Henk Barreveld](https://wordpress.org/support/users/henk-barreveld/)
 * (@henk-barreveld)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/php-error-this-cannot-be-used-in-static-methods/)
 * Hi,
 * Wnen I open a sandbox copy of my website in VS Code, I get the PHP error message“
   $this cannot be used in static methods” for the file
 * `/wp-content/plugins/duplicator/lib/dup_archive/tester/classes/class.datester.
   loggin.php`, line 83. The Duplicator version is 1.3.36.
 * Thought you might want to know…
 * Best regards,
    Henk Barreveld

Viewing 1 replies (of 1 total)

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/php-error-this-cannot-be-used-in-static-methods/#post-13169288)
 * Hey [@henk-barreveld](https://wordpress.org/support/users/henk-barreveld/)
 * Thanks for letting us know we will have someone take a look at it.
 * Cheers~

Viewing 1 replies (of 1 total)

The topic ‘PHP error “$this cannot be used in static methods”’ is closed to new 
replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/php-error-this-cannot-be-used-in-static-methods/#post-13169288)
 * Status: resolved