Error notice when creating a View

chefnelone's picture
chefnelone
Fri, 12/19/2014 - 11:20
#1
Error notice when creating a View

I created a view.
I enabled:"Show Captions" and then "More info link Load node content" set to "Inline Page".
The view is shown fine but with this error:

Notice: Undefined property: stdClass::$0 en template_preprocess_md_portfolio_mdp_plugin_rows() (línea 354 de /Applications/MAMP/htdocs/base-1.0/sites/all/modules/md_portfolio/templates/mdp/theme.inc).

cindy's picture
cindy
Fri, 12/19/2014 - 22:05

Hi,
Please update the latest version (we send you via email. please check)

chefnelone's picture
chefnelone
Sat, 12/20/2014 - 04:29

The New version you sent us didn't fixed it. I cleared all caches after updating the module.

The views shows 6 items and still there are 6 errors like this:

"Notice: Undefined property: stdClass::$0 in template_preprocess_md_portfolio_mdp_plugin_rows() (line 357 of /Applications/MAMP/htdocs/base-1.0/sites/all/modules/md_portfolio/templates/mdp/theme.inc)."

Note: I just enable the module: md_portfolio. I didn't enabled any of the other sub-modules.

cindy's picture
cindy
Sun, 12/21/2014 - 22:21

Hi,
Please send us your site's url as well as admin account to [email protected]
(Also this forum link)
We will check and fix your problem

Regards,

chefnelone's picture
chefnelone
Fri, 02/27/2015 - 12:18

Sorry but I have this problem again. Only the line number changed:

  • Notice: Undefined property: stdClass::$0 in template_preprocess_md_portfolio_mdp_plugin_rows() (line 366 de/Applications/MAMP/htdocs/base/sites/all/modules/md_portfolio/templates/mdp/theme.inc).

Now I know that the cause is that just change the height. look my capture: 

Image title

Image title

cindy's picture
cindy
Tue, 03/03/2015 - 03:29

Hi,

Sorry for the inconvenience. So there is not any problems now?

chefnelone's picture
chefnelone
Tue, 03/03/2015 - 04:41

I think I found the problem. I just changed line 364 in md_portfolio/templates/mdp/theme.inc  and the problem was gone:

this:

if($filter_field != null) {

to this:

if($filter_field != null && $filter_field != 0) {

chefnelone's picture
chefnelone
Tue, 03/03/2015 - 05:04

Let me know if the fix is right and will not be a problem for any feature of the module.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.