Download & Extend

Notice: Undefined property: stdClass::$field_*** in filefield_paths_node_presave()

Project:File (Field) Paths
Version:6.x-1.x-dev
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

line 355 of sites/all/modules/filefield_paths/filefield_paths.module

http://drupalcode.org/project/filefield_paths.git/blob/f40480a1390ccae4a...

Comments

#1

Status:active» needs review
AttachmentSize
filefield_paths-1690444-1-fix-php-notice.patch 662 bytes

#2

I have the same issue and this patch work for me but there are too spaces :

<?php
if ($field['type'] == 'filefield' && isset($node->$field['field_name'])  && is_array($node->$field['field_name'])) {
if (
$field['type'] == 'filefield' && isset($node->$field['field_name']) && is_array($node->$field['field_name'])) {
?>

#3

i remove this space, please check and close issue)

AttachmentSize
filefield_paths-fix-php-notice-1690444-3.patch 661 bytes

#4

Status:needs review» reviewed & tested by the community