As mentioned in the error, the official manual and the comments:
Replace
public function TSStatus($host, $queryPort)
with
public function __construct($host, $queryPort)
More Related Contents:
- How to prevent duplicate usernames when people register?
- How to remove “index.php” in codeigniter’s path
- PHP CURL & HTTPS
- Remove all special characters from a string [duplicate]
- PDO valid characters for placeholders
- Laravel 5 PDOException Could Not Find Driver
- Binding multiple values in pdo
- Import CSV file directly into MySQL
- PHP: How to get referrer URL?
- Sort array of objects by one property
- Switch php versions on commandline ubuntu 16.04
- Split camelCase word into words with php preg_match (Regular Expression)
- PHP – Session destroy after closing browser
- Check if a variable is undefined in PHP
- How do you loop through $_FILES array?
- PHP Upload, extract and progressbar
- How to increase memory limit for PHP over 2GB?
- RegEx BackReference to Match Different Values
- What is a good parser generator for php?
- laravel collection to array
- How to include file outside document root?
- Regex to match text between commas
- Is using prepared statements necessary? [duplicate]
- Reorganize array in twig
- Remove / Replace the username field with email using FOSUserBundle in Symfony2 / Symfony3
- PHP7 Constructor class name
- Laravel Form methods VS traditional coding
- SSL error can not change to TLS
- Callback function using variables calculated outside of it
- Replace all characters that aren’t letters and numbers with a hyphen [duplicate]