Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: After I put the key tp=1 on index.php...error message

After I put the key tp=1 on index.php...error message 9 months 6 days ago #54386

  • cayazigi
  • cayazigi's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 66
  • Karma: 0
After I put on URL:
.../index.php?tp=1 to show positions:


Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in C:\xampp\htdocs\ibpfull\libraries\joomla\application\module\helper.php on line 208

any idea ?
Please become a member of OSTraining to reply to this post.

After I put the key tp=1 on index.php...error message 9 months 6 days ago #54397

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3953
  • Thank you received: 134
  • Karma: 9
Hi Cayazigi,

Go into your helper.php file, (or modulehelper.php if you use t3framework).


Change This:
         $attribs['style']. = ' outline';

and delete the .

So it looks like this:
         $attribs['style'] = ' outline';

Let me know if that works.
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

After I put the key tp=1 on index.php...error message 9 months 6 days ago #54403

  • cayazigi
  • cayazigi's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 66
  • Karma: 0
Hi Tess, where could I find this helper.php?
Please become a member of OSTraining to reply to this post.

After I put the key tp=1 on index.php...error message 9 months 5 days ago #54405

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3953
  • Thank you received: 134
  • Karma: 9
Hi Cayazigi,

It is located here:
C:\xampp\htdocs\ibpfull\libraries\joomla\application\module\helper.php

Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

After I put the key tp=1 on index.php...error message 9 months 5 days ago #54417

  • cayazigi
  • cayazigi's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 66
  • Karma: 0
Ok...I understood. it works, thanks !
But why this issue occurred ?
Please become a member of OSTraining to reply to this post.

After I put the key tp=1 on index.php...error message 9 months 5 days ago #54430

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3953
  • Thank you received: 134
  • Karma: 9
Hi Cayazigi,

You are very welcome! Glad that code changed worked. With .= it means you are connecting a previous string to that string of the same variable.

I think it was looking for a string and was returning empty or not existent, therefor returning that error.

But that is just my guess from experience. :-)
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.