Twilio WordPress Plugin - Twilio SDK Required

The Twilio PHP SDK is required for this plugin to work.

Recommended: Reinstall or update the plugin. Plugin updates now bundle the SDK (the release zip ships a pre-built vendor/ directory), so a fresh install or update is the simplest fix.

Legacy / manual install: If you can't update the plugin, you can install the SDK to the external location instead:

chmod +x install-twilio-sdk-external.sh && ./install-twilio-sdk-external.sh

Plugin path:

Bundled vendor path:

External SDK fallback path:

Twilio WordPress Plugin - AWS SDK Required for SNS SMS

You have selected AWS SNS as your SMS provider, but the AWS PHP SDK is not available.

Recommended: Update the plugin to a release-bundled version — newer release zips bundle the AWS SDK alongside the Twilio SDK in vendor/.

Legacy / manual install: Install the AWS SDK to the external location:

chmod +x install-aws-sdk-external.sh && ./install-aws-sdk-external.sh

External AWS SDK path:

If you don't need AWS SNS, switch the SMS provider back to Twilio under the plugin settings.

60, // Every 60 seconds 'display' => esc_html__('Every Minute (TWP)', 'twilio-wp-plugin') ); return $schedules; } /** * Plugin deactivation hook */ function twp_deactivate() { require_once TWP_PLUGIN_DIR . 'includes/class-twp-deactivator.php'; TWP_Deactivator::deactivate(); } register_activation_hook(__FILE__, 'twp_activate'); register_deactivation_hook(__FILE__, 'twp_deactivate'); /** * Check SDK status after plugin updates * Shows warning if neither the bundled vendor/ nor the external SDK is available * after an update — this should be rare now that release zips ship vendor/. */ function twp_check_sdk_after_update($upgrader_object, $options) { // Only run for plugin updates if ($options['action'] !== 'update' || $options['type'] !== 'plugin') { return; } // Check if this plugin was updated $updated_plugins = isset($options['plugins']) ? $options['plugins'] : array(); if (!in_array(TWP_PLUGIN_BASENAME, $updated_plugins)) { return; } // Check if a Twilio SDK autoloader is available anywhere $internal_sdk = file_exists(TWP_PLUGIN_DIR . 'vendor/autoload.php'); $external_sdk = file_exists(TWP_EXTERNAL_SDK_DIR . 'autoload.php'); if (!$internal_sdk && !$external_sdk) { // Set a transient to show warning on next admin page load set_transient('twp_sdk_update_warning', true, 60 * 5); } } add_action('upgrader_process_complete', 'twp_check_sdk_after_update', 10, 2); /** * Show SDK update warning */ function twp_show_sdk_update_warning() { if (get_transient('twp_sdk_update_warning')) { delete_transient('twp_sdk_update_warning'); ?>

Twilio WordPress Plugin - SDK Missing After Update

The plugin was updated, but no Twilio SDK could be found.

Plugin release zips normally bundle the SDK in vendor/, so this usually means the release was built without dependencies, or the upload was incomplete. Try downloading the release zip again and reinstalling.

Manual install fallback:

cd && ./install-twilio-sdk-external.sh

Bundled vendor path:

External SDK fallback path:

run(); } run_twilio_wp_plugin();