• Resolved mukii

    (@mukii)


    Hi @bedas,

    I have Version 2.2.13 . Plugin give me error on activating. When i am trying to open any post type( including custom posts type created by this plugin ) , the error showing is –
    “Fatal error: Class ‘Twig_TokenParser_For’ not found in /home/*******/public_html/dev/wp-content/plugins/types/library/twig/twig/lib/Twig/Extension/Core.php on line 124”

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    The class Twig_TokenParser_For is defined in wp-content/plugins/types 2/library/twig/twig/lib/Twig/TokenParser/For.php on line 26.

    So, if you miss that file, it will throw the error.

    Please delete your Types Plugin, redownload from the Download Section either in wp-types.com or here in the WordPress Repository and test again.
    The error should be gone.

    If not, check if the file I mention is present on your Install.

    Thank you

    • This reply was modified 8 years, 10 months ago by Anonymous User 14808221.
    Thread Starter mukii

    (@mukii)

    @bedas, yes the file you mentioned above is showing blank. Why this happens?

    Anonymous User 14808221

    (@anonymized-14808221)

    I don’t know.

    Maybe your Server is blocking it or doesn’t allow the upload or some write settings are wrong.

    Please reinstall the plugin manually, that should solve the problem.

    Thread Starter mukii

    (@mukii)

    ok i’ll re-install it. but will it be effect my custom post-types and the data that i have created using type plugin. Will they be lost?

    Thread Starter mukii

    (@mukii)

    Thanks @bedas for suggestion. I did what you suggested and finally everything working fine. Re-install the plugin works.

    Anonymous User 14808221

    (@anonymized-14808221)

    Yes, I could have bet on that.

    Sorry, that I did not mention, no data is lost when you replace FTP Files.

    This goes for all types of FTP replacements.
    Data in Toolset is stored in the Database, so as long you only manipulate the FTP nothing is lost.

    Happy it works now!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Fatal error: Class ‘Twig_TokenParser_For’ not found’ is closed to new replies.