Code Monkey home page Code Monkey logo

Comments (3)

 avatar commented on August 26, 2024

I was able to find where in my code I was triggering the problem. The project in question is using the CakePHP framework. At the spot where the Twilio code is included there were effectively two includes, the second of which triggered the error. The first used CakePHP's App::import() function, which apparently uses a "require" under the hood. The second was a require_once with a comment about how on the live server the previous statement was insufficient.

from twilio-php.

kevinburke avatar kevinburke commented on August 26, 2024

That doesn't seem good. I admit I'm not that familiar with CakePHP, but glad you sorted out the issue.

Best,
Kevin

from twilio-php.

InfiniteDevelopment avatar InfiniteDevelopment commented on August 26, 2024

I am having the same issue doing the phone poll example. Any ideas why?

Fatal error: Cannot redeclare Services_Twilio_autoload() (previously declared in /var/www/html/youDunFoundIt/craigslister/lib/twilio-php/Services/Twilio.php:9) in /var/www/html/youDunFoundIt/craigslister/lib/twilio-php/Services/Twilio.php on line 9

This is in plain PHP.

from twilio-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.