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

Missing manifest function #3024

Closed
1 task done
jase-languasco opened this issue Nov 8, 2024 · 3 comments
Closed
1 task done

Missing manifest function #3024

jase-languasco opened this issue Nov 8, 2024 · 3 comments
Labels
guidance Question that needs advice or information. p2 This is a standard priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@jase-languasco
Copy link

jase-languasco commented Nov 8, 2024

Describe the bug

I'm getting the following fatal:

Fatal error: Uncaught Error: Call to undefined function Aws\manifest() in /srv/www/vendor/aws/aws-sdk-php/src/AwsClient.php:241 

I've uninstalled the package with composer and reinstalled it. I've looked at the installed code in the vendor directory and src/functions.php is there with the manifest function.

Not sure whats going on here. Any help would be appreciated.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

No fatal

Current Behavior

A fatal is being thrown

Fatal error: Uncaught Error: Call to undefined function Aws\manifest() in /srv/www/vendor/aws/aws-sdk-php/src/AwsClient.php:241 

Reproduction Steps

Setting up SesClient

$this->vendor = new SesClient([
    'version' => 'latest',
    'region'  =>  "us-east-1",
    'credentials' => [
        'key'    => $params['aws_access_key_id'],
        'secret' => $params['aws_secret_access_key'],
    ],
]);

Using: "aws/aws-sdk-php": "^3.325",

Possible Solution

No response

Additional Information/Context

No response

SDK version used

"aws/aws-sdk-php": "^3.325",

Environment details (Version of PHP (php -v)? OS name and version, etc.)

PHP 8.3.9 (cli) (built: Jul 5 2024 12:03:46) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.9, Copyright (c) Zend Technologies with Zend OPcache v8.3.9, Copyright (c), by Zend Technologies

@jase-languasco jase-languasco added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 8, 2024
@github-actions github-actions bot added the potential-regression Marking this issue as a potential regression to be checked by team member label Nov 8, 2024
@yenfryherrerafeliz
Copy link
Contributor

Hi @jase-languasco, sorry to hear about your issues. I have done a test in my local with the same version you point here and I do not see the same behavior.
To determine what the problem is, could you please try the following:

  • Try a new test project from scratch and check if you get the same error? if you do not see the error it means something is wrong with your original project configuration.
  • Try deleting the vendor folder and run composer update.

Please let me know if that helps!

Thank you!

@yenfryherrerafeliz yenfryherrerafeliz added guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. p2 This is a standard priority issue and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. potential-regression Marking this issue as a potential regression to be checked by team member labels Nov 11, 2024
@jase-languasco
Copy link
Author

Thank you for the help. I finally figured it out myself.

It was actually a conflict between another packages requirements. I don't understand the exact conflict, but by updating the dependencies on on another package I was able to fix it

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information. p2 This is a standard priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

3 participants