• Resolved sercai

    (@sercai)


    Hello,

    I have Woocommerce 2.1.2 and I am trying to send an SMS with your pluging and Twilio.
    But everytime I try to submit an order, I get the following Warning and Error:

    Warning: include() [function.include]: Failed opening '[...]/wp-content/plugins/woocommerce-apg-sms-notifications/lib/Twilio/Resource.php' for inclusion (include_path='.:/usr/local/php-5.3.27/share/pear') in [...]/wp-content/plugins/woocommerce-apg-sms-notifications/lib/twilio.php on line 15
    
    Fatal error: Class 'Services_Twilio_Resource' not found in [.]]]/wp-content/plugins/woocommerce-apg-sms-notifications/lib/twilio.php on line 43

    Is it someting related to PHP-5.3.27 ?

    Thanks,

    https://www.ads-software.com/plugins/woocommerce-apg-sms-notifications/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Art Project Group

    (@artprojectgroup)

    Thanks a lot for the notice.

    We’ll update it as soon as possible.

    Thread Starter sercai

    (@sercai)

    Thanks for the reply.

    So nothing can be done now ? I have to wait for the next update ?

    Regards,

    Plugin Author Art Project Group

    (@artprojectgroup)

    We’re working now on it.

    Plugin Author Art Project Group

    (@artprojectgroup)

    Try to rename /wp-content/plugins/woocommerce-apg-sms-notifications/lib/twilio/ to /wp-content/plugins/woocommerce-apg-sms-notifications/lib/Twilio/

    Thread Starter sercai

    (@sercai)

    Working great.

    Many thanks ??

    Thread Starter sercai

    (@sercai)

    Hmmmm sorry to open this again, but something weird happened.

    After doing what you said, I tested an order and it worked fine. Then I tried once again and I got the following message “The ‘To’ number … is not a valid phone number.” I tried different correct number, and I always get that message.

    I feel like it is not getting into consideration the ‘+’ sign.

    Thanks,

    Plugin Author Art Project Group

    (@artprojectgroup)

    Try to change line 170, in apg-sms.php, with this new code:

    $respuesta = $twillio->account->sms_messages->create($telefono, $configuracion['telefono'], $mensaje, array());

    Tell me something about it.

    Thread Starter sercai

    (@sercai)

    I think it got worse now.
    The error message is talking about From number now, it should be To:
    “The ‘From’ number … is not a valid phone number or shortcode.”

    P.S: In the error message, there is no + sign before the International code

    Plugin Author Art Project Group

    (@artprojectgroup)

    Please, send to us an admin user with writting permissions and URL to access to your WordPress installation (info[at]artprojectgroup[dot]com).

    Thread Starter sercai

    (@sercai)

    I sent an email dear

    Plugin Author Art Project Group

    (@artprojectgroup)

    Fixed.

    Update to version 2.2.1.

    Thanks a lot for the notice.

    Thread Starter sercai

    (@sercai)

    Thanks,

    I will update and let you know.

    In the meantime, I wanted to let you know that the SMS were not sent in the last tests but Twilio charged me for all of them. (This is maybe something you need to double check).

    Thread Starter sercai

    (@sercai)

    It doesn’t work.
    I still have the same error after the update:
    “The ‘To’ number … is not a valid phone number.”

    Plugin Author Art Project Group

    (@artprojectgroup)

    Try again with version 2.2.2

    Thread Starter sercai

    (@sercai)

    It’s working now with 2.2.2.

    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Fatal error: Class 'Services_Twilio_Resource' not found’ is closed to new replies.