Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • compcard Friend
    #165590

    I just update the ja thumbnail plugin to its latest version 1.0.2, now i get this error on my blogs. Notice: Undefined property: stdClass::$text in /home/content/29/6268229/html/live/plugins/content/plg_jathumbnail/plg_jathumbnail.php on line 46

    how can i fix this?

    url: caracol.com
    click on new or any other section you should see the error

    gray Friend
    #398124

    Roll back to 1.0.1. as somebody did here (v. 1.0.1 is available in Teline IV package).
    The issue is caused by preg_match($this->_plgCodeDisable, $article->text) on line 46 of the plugin. It seems Joomla 1.6 has some problems with rendering content in plugins as reported here.

    thangnn1510 Friend
    #398167

    Please give us the login information FTP/Admin account to your support ticket AIY-697-44672 in http://support.joomlart.com. We’ll check for you. Thanks.

    compcard Friend
    #398261

    <em>@gray 249264 wrote:</em><blockquote>Roll back to 1.0.1. as somebody did here (v. 1.0.1 is available in Teline IV package).
    The issue is caused by preg_match($this->_plgCodeDisable, $article->text) on line 46 of the plugin. It seems Joomla 1.6 has some problems with rendering content in plugins as reported here.</blockquote>

    thanks man but i already went to the ja teline Iv package and they only have ja thumbnail 1.0.2 , where else can i get the older version?
    of this plugin

    thangnn1510 Friend
    #398345

    <em>@compcard 249424 wrote:</em><blockquote>thanks man but i already went to the ja teline Iv package and they only have ja thumbnail 1.0.2 , where else can i get the older version?
    of this plugin</blockquote>
    We don’t store older version. Please give us the login information FTP/Admin account to your support ticket AIY-697-44672 in http://support.joomlart.com. We’ll check for you. Thanks.

    gray Friend
    #398905

    <em>@compcard 249258 wrote:</em><blockquote>I just update the ja thumbnail plugin to its latest version 1.0.2, now i get this error on my blogs. Notice: Undefined property: stdClass::$text in /home/content/29/6268229/html/live/plugins/content/plg_jathumbnail/plg_jathumbnail.php on line 46

    how can i fix this?

    url: caracol.com
    click on new or any other section you should see the error</blockquote>

    Found a solution. This error is caused by the fact that $article->text is not available on category (blog) view, but only $article->introtext. So I fixed it by changing /plugins/content/plg_jathumbnail/plg_jathumbnail.php
    [php]
    if(preg_match($this->_plgCodeDisable, $article->introtext) || preg_match($this->_plgCodeDisable, $article->text)) {
    $article->introtext = preg_replace($this->_plgCodeDisable, ”, $article->introtext);
    $article->text = preg_replace($this->_plgCodeDisable, ”, $article->text);
    }
    [/php]
    to
    [php]
    if(preg_match($this->_plgCodeDisable, $article->introtext)) {
    $article->introtext = preg_replace($this->_plgCodeDisable, ”, $article->introtext);
    } else if ($view != ‘category’ && preg_match($this->_plgCodeDisable, $article->text)) {
    $article->text = preg_replace($this->_plgCodeDisable, ”, $article->text);
    }
    [/php]

    thangnn1510 Friend
    #398987

    Thanks for sharing the resolution.

    hengstler Friend
    #401435

    Hi …

    unfortunately, this solution doesn’t work on my test environment. After deleting the cache, I still receive the error message:

    Notice: Undefined property: stdClass::$text in /var/www/web258/public_html/test16/plugins/content/plg_jathumbnail/plg_jathumbnail.php on line 47

    I’m using Joomla 1.6.5 and JA Thumbnail plugin 1.0.2 …

    Kind regards

    Stefan

    gray Friend
    #401444

    Stefan,
    Where do you get this error – blog view?
    Can you provide link to the page with the error (or at list give URL of that link if your site if offline).

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 4 voices, and was last updated by  gray 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum