A PHP Error was encountered

Severity: Notice

Message: Undefined variable: ProductMedia

Filename: controllers/Share.php

Line Number: 57

Backtrace:

File: /home/madhoorstores/public_html/application/controllers/Share.php
Line: 57
Function: _error_handler

File: /home/madhoorstores/public_html/index.php
Line: 315
Function: require_once

An uncaught Exception was encountered

Type: Abraham\TwitterOAuth\TwitterOAuthException

Message: {"errors":[{"code":415,"message":"Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings"}]}

Filename: /home/madhoorstores/public_html/application/third_party/Twitter/vendor/abraham/twitteroauth/src/TwitterOAuth.php

Line Number: 137

Backtrace:

File: /home/madhoorstores/public_html/application/libraries/Twitter.php
Line: 20
Function: oauth

File: /home/madhoorstores/public_html/application/libraries/Twitter.php
Line: 86
Function: Login

File: /home/madhoorstores/public_html/application/controllers/Share.php
Line: 60
Function: ProductPost

File: /home/madhoorstores/public_html/index.php
Line: 315
Function: require_once