An error occurs "Cannot declare class SecurityGroupViewsData, because the name is already in use" while installing cloud module.
The following is the error message at /var/log/apache2/error.log

[Tue Jun 05 10:48:09.277735 2018] [php7:error] [pid 5545] [client 216.98.102.225:3800] PHP Fatal error:  Cannot declare class SecurityGroupViewsData, because the name is already in use in /var/www/html/data/d8/sites/xlayer.cloud/modules/cloud/modules/cloud_service_providers/aws_cloud/src/Entity/Ec2/SecurityGroupViewsData.php on line 17, referer: https://xlayer.cloud/admin/modules/list/confirm
CommentFileSizeAuthor
#2 2977616_cloud_missing_namespace.patch593 bytesastonvictor

Comments

yas created an issue. See original summary.

astonvictor’s picture

StatusFileSize
new593 bytes

There is a missing namespace for SecurityGroupViewsData class.

astonvictor’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: 2977616_cloud_missing_namespace.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • baldwinlouie committed 07465f5 on 8.x-1.x
    git commit -m 'Issue #2977616 by Aston Victor: An error occurs "Cannot...
baldwinlouie’s picture

Status: Needs work » Fixed

Thank you for the patch. It has been committed!

baldwinlouie’s picture

Status: Fixed » Closed (fixed)