Welcome, Guest
Username: Password: Remember me

TOPIC: otice: Undefined property: stdClass::$fulltext

otice: Undefined property: stdClass::$fulltext 4 years 7 months ago #564

  • katya
  • katya's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 8
  • Karma: 0
Another one misfunction of the new free template:
---
Notice: Undefined property: stdClass::$fulltext in ...skipped...modules/mod_otminislideshow/helper.php on line 120
---
How can I solve it?
P.S. You can see it at my test site
The administrator has disabled public write access.
The following user(s) said Thank You: makcimka

Re: otice: Undefined property: stdClass::$fulltext 4 years 7 months ago #571

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 910
  • Thank you received: 568
  • Karma: 25
Hi,
Just remove the var $item->fulltext anywhere you find out in the helper.php

Thanks for using our products!
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The administrator has disabled public write access.
The following user(s) said Thank You: makcimka

Re: otice: Undefined property: stdClass::$fulltext 4 years 7 months ago #639

  • katya
  • katya's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 8
  • Karma: 0
the line 120 on modules\mod_otminislideshow\helper.php
"preg_match_all('/src="([^"]+)"/i', $item->introtext . $item->fulltext, $matches);"
changes to
"preg_match_all('/src="([^"]+)"/i', $item->introtext . , $matches);"
isn't it?
The administrator has disabled public write access.
The following user(s) said Thank You: makcimka

Re: otice: Undefined property: stdClass::$fulltext 4 years 7 months ago #640

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 910
  • Thank you received: 568
  • Karma: 25
Hi,
exactly is:
preg_match_all('/src="([^"]+)"/i', $item->introtext, $matches);

:)
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The administrator has disabled public write access.
The following user(s) said Thank You: makcimka

Re: otice: Undefined property: stdClass::$fulltext 4 years 7 months ago #649

  • katya
  • katya's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 8
  • Karma: 0
Works, thanks :-)
The administrator has disabled public write access.
The following user(s) said Thank You: makcimka
Time to create page: 0.156 seconds