Side Topic on Maestro Workflow with Drupal 7

When I was building the demo website for the clients using maestro workflow in drupal 7, I have encouted with the following errors:

   Only variables should be passed by reference in maestro_accept_reject()

 

   By looking at their code of the maestro_common.module snippet at blow, there seems no problem with the code itself. However, the release of PHP 4.4 and 5.0.5, a change has been made to the engine that has resulted in some new errors popping up in existing code. The errors showing above didnot hurt the basic functionality but creating annoying user experience.

   After researching around for fixing the problem while and understanding php developers’ determinative attitude on pushing the new change in, I have figured out a way to reformat the code above to get the php engine happy.

   So now the error goes away by having the code reformatted as below:

   Hope this would help people that has suffered the same problem!

 

Advertisement

4 thoughts on “Side Topic on Maestro Workflow with Drupal 7

  1. We’re a group of volunteers and starting a new scheme in our community. Your website provided us with valuable info to work on. You have done a formidable job and our entire community will be grateful to you.

  2. I think this is among the most significant information for me. And i am happy reading your article. But want to remark on few normal issues, The site style is ideal, the articles is actually nice : D. Good process, cheers.

  3. I enjoy reading through an article that can
    make men and women think. Also, many thanks
    for permitting me to comment!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s