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

Upload bug, Cannot redeclare osc_item_deactivate_url() #2323

Open
petrsoudek opened this issue Jun 28, 2021 · 0 comments
Open

Upload bug, Cannot redeclare osc_item_deactivate_url() #2323

petrsoudek opened this issue Jun 28, 2021 · 0 comments

Comments

@petrsoudek
Copy link

Hi Community, I had problems uploading the new theme, so I uploaded it manually via FTP, next I wanted to activate it, but I got Error 500, I also can't delete it via admin.

Here is Nginx error log:

Cannot redeclare osc_item_deactivate_url() (previously declared in /www/osclass/oc-includes/osclass/helpers/hDefines.php:811) in /www/osclass/oc-content/themes/violet/functions.php on line 1248" while reading response header from upstream, client: 109.251.55.169, server: farm-portal.mydomain.com, request: "GET /oc-admin/index.php?page=appearance&action=activate&theme=violet&CSRFName=CSRF962944708_509823959&CSRFToken=7458a747130aa6452ab1a2f3c27b046d84bae26713f6577e8d4a9d25b5e6152f80b698abfbcc8973c8a6ba7d9436eb6670c765f6020b5f398ef4506f21506c49 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "farm-portal.mydomain.com", referrer: "https://farm-portal.mydomain.com/oc-admin/index.php?page=appearance"

Thanks a lot!

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