Thursday, February 26, 2015

Re: Fatal error: Call to a member function link() on a non-object in

That is 1.2 syntax, this isnt supported for the last 5 years.
What kind of code are you working with, and why are you trying to use it with recent versions of CakePHP?
Please consult the documentation on how to properly call helpers (besides the fact that this helper doesnt exist anymore).

mark


Am Donnerstag, 26. Februar 2015 09:06:57 UTC+1 schrieb JAI PRAKASH SINGH:
hello all, 

     i am very new to cake php, hardly 2-3 days , i stated working on project.
     i am facing a error i.e

    Fatal error: Call to a member function link() on a non-object in

    line "
    app/views/layout/default.ctp 

    <?php
        echo $javascript->link(array(FV_JS . "jquery-1.7.1.min.js?v=" . VERSION_NUMBER));
    ?>


   i have searched a lot but unable to solved this problem 

    please share you reply, if any file u want to see, please tell     

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: