Skip to content
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

Error on activation #12

Open
controlshiftgithub opened this issue Aug 18, 2020 · 2 comments
Open

Error on activation #12

controlshiftgithub opened this issue Aug 18, 2020 · 2 comments

Comments

@controlshiftgithub
Copy link

Hi,

I have the latest version of YOURLS and have been able to activate all plugins except this one. I am getting a 500 Error when clicking activate.

I am using Chrome and have tested on IE as well.

After clicking activate, I receive a 500 Error. The url that causes this error is

http://myurl/admin/plugins.php?action=activate&plugin=yourls-bulk-import-and-shorten&nonce=mynonce

Thanks for making great plugins, I have used your previous version before and it has worked well.

@controlshiftgithub
Copy link
Author

The error points to this;

Parse error: syntax error, unexpected ':', expecting '{' in /home/financia/public_html/360f.in/user/plugins/bulk-import-and-shorten/plugin.php on line 149

Seems to be something to do with the part that has ": string". Can you please advise? Do I need a newer PHP Version for this?

@controlshiftgithub
Copy link
Author

Updating to PHP 7.2 has resolved the issue. I was on 5.4. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant