• Resolved diannac

    (@diannac)


    Hi,

    We have the pro version of GiveWP, after updating your plugin a couple of weeks ago we are consistently getting the following PHP error in our logs:

    Uncaught ReflectionException: Class Faker\Generator does not exist in /code/wp-content/plugins/give/src/Container/Container.php:744
    Stack trace:
    #0 /code/wp-content/plugins/give/src/Container/Container.php(744): ReflectionParameter->getClass()
    #1 /code/wp-content/plugins/give/src/Container/Container.php(707): Give\Container\Container->resolveDependencies(Array)
    #2 /code/wp-content/plugins/give/src/Container/Container.php(595): Give\Container\Container->build(‘Give\\TestData\\F…’)
    #3 /code/wp-content/plugins/give/src/Container/Container.php(538): Give\Container\Container->resolve(‘Give\\TestData\\F…’, Array)
    #4 /code/wp-content/plugins/give/src/Container/Container.php(821): Give\Container\Container->make(‘Give\\TestData\\F…’)
    #5 /code/wp-content/plugins/give/src/Container/Container.php(746): Give\Container\Container->resolveClass(Object(ReflectionParameter))
    #6 /code/wp-content/plugins/give/src/Container/Container.php(707): Give\Container\Container->resolveDependencies(Array)
    #7 /

    As stated, this error didn’t present itself until a couple of weeks ago after an update. It doesn’t appear to have caused any issues with our site but I don’t like seeing errors like this.

    Any idea what is causing these errors and when/if you will be applying a fix in upcoming updates.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hi @diannac,

    Glad you reached out!

    This edge-case issue was discovered some time ago and a fix for it is already planned! We hope to release it soon, so you don’t see it in your logs in the upcoming releases.

    Also, being a premium user allows you to send us messages via Priority Support, which you can find here https://givewp.com/priority-support/.

    Please let us know if you have further questions on this or need any additional assistance!

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Reflection Exception Error’ is closed to new replies.