-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug:
There's 2 PHP issues which are fatal when using Craft's dev mode
Unknown Property – yii\base\UnknownPropertyException-Getting unknown property: codemonauts\instagramfeed\models\Settings::userAgent- this property doesn't exist on the settings modelError-Undefined constant codemonauts\instagramfeed\services\InstagramService::CACHE_TAG- this constant doesn't exist and so isn't used when the cache is set, which means that the "Instagram data" option under "Invalidate Data Caches" currently has no effect.
Steps to reproduce:
- Enable
devModeincraft/config/general.php - Opening the app in your browser should trigger the first error, and trigger the second you need to go to Settings > Utilities > Caches in the CMS
Where is it happening?
- On a server
- Local dev environment
What are you requesting:
Username: ...
Hashtag: ...
Config file:
return [
// User name or hash tag to fetch from Instagram.
'instagramUser' => 'xyz',
// Use codemonauts proxy to get the Instagram page
'useProxy' => true,
// The proxy key to use for authentication
'proxyKey' => 'XXX',
// Timeout in seconds waiting for the Instagram page to load.
'timeout' => 10,
// Dump Instagram response to file for debugging purpose. In an event of unknown structure, it will happen automatically.
// You will find the dumps in Craft's storage path in the folder runtime/instagramfeed with the timestamp as file name.
'dump' => true,
// Use volume to store Instagram images locally, otherwise the storage path will be used
'useVolume' => true,
// The handle of the volume to use for storing Instagram images locally
'volume' => 'XXX',
// Subpath to use in volume
'subpath' => 'XXX',
];Software versions:
Plugin Version: 2.2.1
PHP Version: 8.2.20
CraftCMS Version: Craft Pro 4.8.8
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working