You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 model
Error - 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 devMode in craft/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',
];
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:
devMode
incraft/config/general.php
Where is it happening?
What are you requesting:
Username: ...
Hashtag: ...
Config file:
Software versions:
Plugin Version: 2.2.1
PHP Version: 8.2.20
CraftCMS Version: Craft Pro 4.8.8
The text was updated successfully, but these errors were encountered: