Iam using latest 7.x-3.0-alpha2 vesrion of Akmai.I have installed and enabled the module from the backend.Then tried to access the configuration from URL example.com/admin/config/system/akamai.Then it showing:
"The website encountered an unexpected error. Please try again later."
From the log showing that:
Error: Class 'Drupal\akamai\CcuClientInterface' not found in akamai_settings_form() (line 221 of sites/all/modules/contrib/akamai/akamai.admin.inc).

Comments

salujai created an issue. See original summary.

salujai’s picture

StatusFileSize
new328 bytes
salujai’s picture

Status: Active » Needs review
firewaller’s picture

Status: Needs review » Reviewed & tested by the community

#2 patch works for me. However, it should be noted that I didn't get the error on my local environment, only my remote one.

firewaller’s picture

Status: Reviewed & tested by the community » Needs review
Related issues: +#3076036: Error: Class Drupal\akamai\Ccu3Client not found in akamai_get_client()

After experiencing this problem in another issue, it seems like the discrepancy between the local and remote environments means something else it at play here.

firewaller’s picture

StatusFileSize
new805 bytes

Attached is an updated patch based on the above which will prevent errors when the file is included elsewhere. This does not solve the underlying problem, but it resolves the immediate issue of the admin form not loading.

firewaller’s picture

StatusFileSize
new656 bytes

Attached is an appropriately generated patch.

WidgetsBurritos’s picture

Status: Needs review » Postponed
drdam’s picture

Ok for RTBC !

pobster’s picture

This is not the solution, whoever picks this up for D7 should look at why the use isn't pulling it in. Do not discount that this could just be user error with setting up D7 with composer_manager (and probably is).

pobster’s picture

Status: Postponed » Closed (works as designed)

Closing due to expected user error (no follow-up WFM).

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.