-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Warning, PHP Parse error - v5.1.10 #178
Comments
Could you paste your configuration? So I can try to reproduce this. |
This is my configuration but I don't think this config matters since it can't even show the version via "phpbu --version" by erroring out before it gets to that point. <?xml version="1.0" encoding="UTF-8"?>
<phpbu xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpbu.de/5.1/phpbu.xsd">
<backups>
<backup name="MySQLDatabase">
<cleanup type="quantity">
<option name="amount" value="10" />
</cleanup>
<source type="mysqldump">
<option name="databases" value="[redacted]"/>
<option name="user" value="[redacted]"/>
<option name="password" value="[redacted]"/>
</source>
<target dirname="/var/www/html/backup"
filename="mysql-%Y%m%d-%H%i.sql"
compress="gzip"/>
</backup>
<backup name="ImgDirectory">
<cleanup type="quantity">
<option name="amount" value="10" />
</cleanup>
<source type="tar">
<option name="path" value="/var/www/html/img"/>
<option name="exclude" value="index.php"/>
</source>
<target dirname="/var/www/html/backup"
filename="img-%Y%m%d-%H%i"
compress="gzip"/>
</backup>
</backups>
</phpbu>
|
Thanks, will get right on it |
I think you are using PHP 7.0 and one of
I downgraded the dependency so Be aware that PHP 7.0 is not actively supported anymore, and even 7.1 is only getting security updates. I keep the 7.0 support for semantic versioning reasons, but |
Hi, running the latest version with the command 'php phpbu.phar' I get the following error message.
PHP Warning: Class 'Tightenco\Collect\Support\Arr' not found in phar:///home/[redacted]/phpbu.phar/lib/tightenco/Collect/Support/alias.php on line 16
PHP Parse error: syntax error, unexpected '=' in phar:///home/[redacted]/phpbu.phar/lib/tightenco/Collect/Support/Arr.php on line 388
The text was updated successfully, but these errors were encountered: