Posted by ceci123 on December 28, 2012 at 9:59pm
Can anyone please help.
I am upgrading print module from 6.x-1.x-dev to 6.x-1.18. I get this error:
Fatal error: Call to undefined function json_decode() in ../modules/print/print.module on line 420
I found this post but I don't know what they are talking about.
I am using PHP 5.1.6.
Thank you!
Comments
_
The current dev is newer than 6.x-1.18 so what you are actually attempting is a downgrade and not really a good idea.
EDIT:
Also, always check a module's issue queue. Searching with your error found: #1778204: update problem because of undefined json_decode so it seems that's a bug in that version anyway. just use the dev.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Thank you for the reply. I
Thank you for the reply.
I don't get it. Drupal says that the "Recommended version: 6.x-1.18 (2012-Sep-04) "
Take a look at Screenshot here.
Any thoughts?
_
yes my thought is that right in your own screenshot, on the bottom line, you'll see the date on the dev version is 2012-Sep-19 (Sep 19 is AFTER Sep 4th).
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
WorldFallz, that worked!
WorldFallz, that worked!!
After installing the new module I took a look at the .info file and it says "Printer, email and PDF versions 6.x-1.18+3-dev (2012-Sep-19)" which confirms that this is the newest version.
It's weird that Drupal would recommend a version with bugs.
Thanks a bunch.
_
glad you got it sorted! and it's not 'drupal' per say that makes the recommendation-- module maintainers select which version is 'recommended' and therefore it's not always up-to-date.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Good to know. Thank you!
Good to know. Thank you!