0 Using $this when not in object context - BUG

  • Posts: 461
  • Thank you received: 36
8 years 7 months ago #252891

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.3
-- PHP version -- : 7.0.11
-- Error-message(debug-mod must be tuned on) -- : 0 Using $this when not in object context

Hi guys,
Joomla 3.6.3 + AcyMailing Enterprise 5.5.0 + HikaShop business 2.6.4 on PHP 7.0.11
Editing an old AcyMailing Newsletter > Previw / Send > ... :

An error has occurred.
0 Using $this when not in object context

I avoid the error changing PHP 7.0.11 with PHP 5.6.26
PS I don't have back the error with all newsletters, but just with the ones with ID: 11 / 12 / 13 / 14 / 15 / 29 / 30 / 43 / 47
I asked to my host to give me the logs file...

From my log error server I have back:

[18-Oct-2016 16:29:42 America/Panama] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgAcymailingHikashop has a deprecated constructor in /home/public_html/myJoomla/plugins/acymailing/hikashop/hikashop.php on line 12
[18-Oct-2016 16:29:42 America/Panama] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgAcymailingusergroup has a deprecated constructor in /home/public_html/myJoomla/plugins/acymailing/usergroup/usergroup.php on line 3


For Acyba team is an HikaShop issue related and, as far as I know, they yet sent to you directly a possible solution (or something like that).
Please, Can you help ?

Last edit: 8 years 7 months ago by joomleb.

Please Log in or Create an account to join the conversation.

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
8 years 7 months ago #252929

Hi,

Could you try again with the debug mode and error reporting settings of the Joomla configuration activated ?
You should get more information about that error when you do, and it would be crucial to better understand your issue.

Best regards,
Nicolas

Please Log in or Create an account to join the conversation.

  • Posts: 461
  • Thank you received: 36
8 years 7 months ago #253188

Hi Nicolas,
PHP 7.0.11
Debug System: activated
Error Reporting: Maximum
here my AcyMailing report

Call stack # Function Location
1 JApplicationCms->execute() .../administrator/index.php:51
2 JApplicationAdministrator->doExecute() .../libraries/cms/application/cms.php:261
3 JApplicationAdministrator->dispatch() .../libraries/cms/application/administrator.php:152
4 JComponentHelper::renderComponent() .../libraries/cms/application/administrator.php:98
5 JComponentHelper::executeComponent() .../libraries/cms/component/helper.php:380
6 require_once() .../libraries/cms/component/helper.php:405
7 JControllerLegacy->execute() .../administrator/components/com_acymailing/acymailing.php:82
8 NewsletterController->savepreview() .../libraries/legacy/controller/legacy.php:702
9 NewsletterController->preview() .../administrator/components/com_acymailing/controllers/newsletter.php:101
10 JControllerLegacy->display() .../administrator/components/com_acymailing/controllers/newsletter.php:115
11 NewsletterViewNewsletter->display() .../libraries/legacy/controller/legacy.php:664
12 NewsletterViewNewsletter->preview() .../administrator/components/com_acymailing/views/newsletter/view.html.php:24
13 acymailerHelper->load() .../administrator/components/com_acymailing/views/newsletter/view.html.php:578
14 acymailerHelper->triggerTagsWithRightLanguage() .../administrator/components/com_acymailing/helpers/acymailer.php:288
15 JEventDispatcher->trigger() .../administrator/components/com_acymailing/helpers/acymailer.php:771
16 JEvent->update() .../libraries/joomla/event/dispatcher.php:159
17 plgAcymailingSeblod->acymailing_replacetags() .../libraries/joomla/event/event.php:69
18 plgAcymailingSeblod->_replaceOne() .../plugins/acymailing/seblod/seblod.php:560
19 plgAcymailingSeblod->_replaceContent() .../plugins/acymailing/seblod/seblod.php:594
20 AcyplgContentCCK::onContentPrepare() .../plugins/acymailing/seblod/seblod.php:672
21 AcyplgContentCCK::_prepare() .../plugins/acymailing/seblod/acyseblodfield.php:14

Last edit: 8 years 7 months ago by joomleb.

Please Log in or Create an account to join the conversation.

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
8 years 7 months ago #253194

Hi,

The problem doesn't come from HikaShop but from the AcyMailing - Seblod plugin.
Deactivate it and you won't have the error.
You'll have to contact the developer of that plugin for help if you want to use it.

Please Log in or Create an account to join the conversation.

  • Posts: 461
  • Thank you received: 36
8 years 6 months ago #256119

Hi Nicolas,
sorry for the delay, Yes, I can confirm, problem was from AcyMailing and it is been solved...

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum