Lyften Bloggie - 1.0.4 Modules Anywhere problem. - Forums

Items per page:

Showing 1-8 of 8 items

Did not have a problem in 1.0.3 not once click to go to the full entire it displays:

Warning: preg_match_all() expects parameter 2 to be string, object given in /home/opassoap/public_html/plugins/system/modulesanywhere.php on line 247

 on top and after the entry.

if I disable the plug in modules anywhere the Warning text is gone and so are my modules in the articles.

 Any fix I can temp apply?

or do you have a link where I can re download 1.0.3?

 Thanks

I also have problem with the plg sourcer from this developer and Luften bloggie...

Daniel is there a way around this error? In my case I use the Module Anywhere on my front page and throughout articles. So ether I have the modules not displaying or I have the warning sign in the blog.

 

Thanks 

I am also having this problem when you go into the single entry.

I'm having the same problem except I get the error on line 263

 "Warning: preg_match_all() expects parameter 2 to be string, object given in xxxxxxxxxx/plugins/system/modulesanywhere.php on line 263"

Lyften Blog seems like an awesome blog and I'd really like to use it so any assistance would be much appreciated.

I have same problem with you too, finally work arounded the problem with adding validation in module anywhere to prevent error.

 In modulesanywhere.php, function replaceInArticles:

I modified the code as below:

 if ( isset( $article->text ) && is_string($article->text) ) {
            $this->processModules( $article->text, 'articles', $message );
        }
        if ( isset( $article->description ) && is_string($article->description) ) {
            $this->processModules( $article->description, 'articles', $message );
        }
        if ( isset( $article->title ) && is_string($article->title) ) {
            $this->processModules( $article->title, 'articles', $message );
        }
        if ( isset( $article->author ) ) {
            if ( isset( $article->author->name ) && is_string($article->author->name) ) {
                $this->processModules( $article->author->name, 'articles', $message );
            } else if (is_string( $article->author )) {
                $this->processModules( $article->author, 'articles', $message );
            }
        }

the problem is caused by the $article->author variable, I ensure it is string then pass to processModules function. I spend one day on this ,Hope this can help other people with same problem.

 


 


[lordmark200 2009-10-27 05:45:14]:

I'm having the same problem except I get the error on line 263

 "Warning: preg_match_all() expects parameter 2 to be string, object given in xxxxxxxxxx/plugins/system/modulesanywhere.php on line 263"

Lyften Blog seems like an awesome blog and I'd really like to use it so any assistance would be much appreciated.





[tmas73 17 Oct 2009 15:41:02]

Did not have a problem in 1.0.3 not once click to go to the full entire it displays:

Warning: preg_match_all() expects parameter 2 to be string, object given in /home/opassoap/public_html/plugins/system/modulesanywhere.php on line 247

 on top and after the entry.

if I disable the plug in modules anywhere the Warning text is gone and so are my modules in the articles.

 Any fix I can temp apply?

or do you have a link where I can re download 1.0.3?

 Thanks





I'm sorry, i not an expert in this problem. i give some news fro Indonesia University:

Simak UI 2011 merupakan kegiatan seleksi resmi yang diadakan Universitas indonesia.

commented by: Emzeth

Wow...thanks for the solution ..Great work indeed.
I have replaced the code in modulesanywhere.php,
Now no more .

Thanks
Kumar.s.Bhardwaj



[cyrilhl 09 Jan 2010 08:05:41]

I have same problem with you too, finally work arounded the problem with adding validation in module anywhere to prevent error.

 In modulesanywhere.php, function replaceInArticles:

I modified the code as below:

 if ( isset( $article->text ) && is_string($article->text) ) {
            $this->processModules( $article->text, 'articles', $message );
        }
        if ( isset( $article->description ) && is_string($article->description) ) {
            $this->processModules( $article->description, 'articles', $message );
        }
        if ( isset( $article->title ) && is_string($article->title) ) {
            $this->processModules( $article->title, 'articles', $message );
        }
        if ( isset( $article->author ) ) {
            if ( isset( $article->author->name ) && is_string($article->author->name) ) {
                $this->processModules( $article->author->name, 'articles', $message );
            } else if (is_string( $article->author )) {
                $this->processModules( $article->author, 'articles', $message );
            }
        }

the problem is caused by the $article->author variable, I ensure it is string then pass to processModules function. I spend one day on this ,Hope this can help other people with same problem.

 


 


[lordmark200 2009-10-27 05:45:14]:

I'm having the same problem except I get the error on line 263

 "Warning: preg_match_all() expects parameter 2 to be string, object given in xxxxxxxxxx/plugins/system/modulesanywhere.php on line 263"

Lyften Blog seems like an awesome blog and I'd really like to use it so any assistance would be much appreciated.


Items per page:

Showing 1-8 of 8 items