BuzzingPixel

Ansel for Craft

Ansel for EE

Treasury

Construct

Category Construct

Dashboard (open an issue here)

All Issues

My Issues

News Contact
Log in

Logged in as

Licenses Purchases Profile Change Password Billing Portal Admin
Log Out
Software
Ansel for Craft Ansel for EE Treasury Construct Category Construct
Support
Dashboard (open an issue here) All Issues My Issues
News Contact
Log in
Logged in as:
Licenses Purchases Profile Change Password Billing Portal Log Out
Dashboard All Issues My Issues
Support Dashboard
  1. Home
  2. Home
  3. Support Dashboard
  4. View Issue

Errors on front-end and in CP when clicking Ansel in Addons section

#195 opened by 5BYFIVE

Subscribe

Details

See Comments

Public Issue

Visibility: Public
2 replies
Last reply by 5BYFIVE
Created 1/29/2021 3:58 PM
Updated 3/23/2021 11:37 AM
Ansel for ExpressionEngine 2.2.0
CMS Version: 6.0.1
PHP Version: 7.2.30
MySQL Version: MySQL 5.7.32
Additional Environment Details:

Also doesn't work on Arcustech server with PHP 7.0.33 and MySQL MySQL 5.7.32

Description

Errors on front-end and in CP when clicking Ansel in Addons section...it works on 5.4.0, but doesn't in EE6. Thanks!

TypeError Caught
Argument 1 passed to BuzzingPixel\Ansel\Service\GlobalSettings::__construct() must be an instance of EllisLab\ExpressionEngine\Service\Model\Facade, instance of ExpressionEngine\Service\Model\Facade given, called in user/addons/ansel/addon.setup.php on line 159
user/addons/ansel/Service/GlobalSettings.php:72
Stack Trace: Please include when reporting this error
#0 user/addons/ansel/addon.setup.php(159): BuzzingPixel\Ansel\Service\GlobalSettings->__construct(Object(ExpressionEngine\Service\Model\Facade), Object(EE_Config))
#1 [internal function]: ExpressionEngine\Core\Application->{closure}(Object(ExpressionEngine\Core\Provider))
#2 ee/ExpressionEngine/Core/Provider.php(352): call_user_func_array(Object(Closure), Array)
#3 [internal function]: ExpressionEngine\Core\Provider->ExpressionEngine\Core\{closure}(Object(ExpressionEngine\Service\Dependency\InjectionContainer))
#4 ee/ExpressionEngine/Service/Dependency/InjectionContainer.php(173): call_user_func_array(Object(Closure), Array)
#5 ee/ExpressionEngine/Boot/boot.php(140): ExpressionEngine\Service\Dependency\InjectionContainer->make('ansel:GlobalSet...')
#6 user/addons/ansel/addon.setup.php(209): ee('ansel:GlobalSet...')
#7 [internal function]: ExpressionEngine\Core\Application->{closure}(Object(ExpressionEngine\Core\Provider))
#8 ee/ExpressionEngine/Core/Provider.php(352): call_user_func_array(Object(Closure), Array)
#9 [internal function]: ExpressionEngine\Core\Provider->ExpressionEngine\Core\{closure}(Object(ExpressionEngine\Service\Dependency\InjectionContainer))
#10 ee/ExpressionEngine/Service/Dependency/InjectionContainer.php(173): call_user_func_array(Object(Closure), Array)
#11 ee/ExpressionEngine/Boot/boot.php(140): ExpressionEngine\Service\Dependency\InjectionContainer->make('ansel:LicenseCh...')
#12 user/addons/ansel/ft.ansel.php(782): ee('ansel:LicenseCh...')
#13 ee/legacy/libraries/api/Api_channel_fields.php(377): Ansel_ft->replace_tag('{"placeholder":...', Array, '\n\t\t\t<img src="{...')
#14 ee/legacy/libraries/channel_entries_parser/components/Custom_field_pair.php(177): Api_channel_fields->apply('replace_tag', Array)
#15 ee/legacy/libraries/channel_entries_parser/Parser.php(283): EE_Channel_custom_field_pair_parser->replace('\n\t<div class="r...', Object(EE_Channel_data_parser), Array)
#16 ee/legacy/libraries/Channel_entries_parser.php(172): EE_Channel_data_parser->parse(Array, Array)
#17 ee/ExpressionEngine/Addons/channel/mod.channel.php(2449): EE_Channel_parser->parse(Object(Channel), Array, Array)
#18 ee/ExpressionEngine/Addons/channel/mod.channel.php(255): Channel->parse_channel_entries()
#19 ee/legacy/libraries/Template.php(1702): Channel->entries()
#20 ee/legacy/libraries/Template.php(1386): EE_Template->process_tags()
#21 ee/legacy/libraries/Template.php(560): EE_Template->tags()
#22 ee/legacy/libraries/Template.php(228): EE_Template->parse('{!-- ra:0000000...', false, 1, false)
#23 ee/legacy/libraries/Template.php(163): EE_Template->fetch_and_parse('', Array, false)
#24 ee/legacy/libraries/Core.php(647): EE_Template->run_template_engine('', '')
#25 ee/legacy/controllers/ee.php(53): EE_Core->generate_page()
#26 [internal function]: EE->index()
#27 ee/ExpressionEngine/Core/Core.php(251): call_user_func_array(Array, Array)
#28 ee/ExpressionEngine/Core/Core.php(111): ExpressionEngine\Core\Core->runController(Array)
#29 ee/ExpressionEngine/Boot/boot.php(161): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#30 index.php(174): require_once('...')
#30 index.php(174): require_once('...')

Replies

  • TJ Draper

    Replied 2/16/2021 7:45 PM, Edited 3/23/2021 11:37 AM

    I have not been able to replicate this issue in EE 6.0.2 with the latest version of Ansel. Are you still getting this error? Can you post more details if you are?

  • 5BYFIVE

    Replied 3/23/2021 11:37 AM

    This was on a development site, so I've been ignoring it, but needed to work on it today and have this error still. What kind of details do you need? This was an E5.X site where Ansel was working ok. But after updating to EE6, it throws the errors.

Use Markdown for formatting

Details

See Comments

Public Issue

Visibility: Public
2 replies
Last reply by 5BYFIVE
Created 1/29/2021 3:58 PM
Updated 3/23/2021 11:37 AM
Ansel for ExpressionEngine 2.2.0
CMS Version: 6.0.1
PHP Version: 7.2.30
MySQL Version: MySQL 5.7.32
Additional Environment Details:

Also doesn't work on Arcustech server with PHP 7.0.33 and MySQL MySQL 5.7.32

Cookie Policy
Privacy Policy
Terms of Service

© 2022 BuzzingPixel, LLC. All rights reserved.