Now the module updated to version 7.x-3.0-beta4 and appeared the following error

Fatal error: Class 'TwitterConf' not found in /home2/rs127955/dev/curitibacultura/sites/all/modules/twitter/twitter_views_field_handlers.inc on line 8

options enabling the text formats (Twitter hashtag # convert and Twitter @ username convert) appears another error

Fatal error: Class 'TwitterConf' not found in /home2/rs127955/dev/curitibacultura/sites/all/modules/twitter/twitter.module on line 194

Anyone know how to solve this problem?

Comments

JGO’s picture

Unfortunately experiencing the same error with beta 4 :(
Anyone knows a solution for this ?

Bartox’s picture

Having the same issue with beta 4.

walthy’s picture

First Drupal post for me! :-)

Quick and dirty fix that seem to work for me: In file "twitter_views_field_handlers.inc", right after the first line "<?php" enter a new line "module_load_include('lib.php', 'twitter');"

Maybe the problem was somewhere in patch: http://drupal.org/files/twitter_remove_includes.patch

Regards,
Walter

Bartox’s picture

It worked. Thanks

Millibit’s picture

This worked for me as well... guess we wait 'til the next update for the fix?

johnalbin’s picture

Priority: Normal » Critical

A fatal PHP error is a critical bug.

Here's the issue that caused the bug: #1346780: Code clean up: remove unneeded includes

babbage’s picture

I encountered this same issue in upgrading to 6.x-3.0-beta9 from 6.x-2.6 of this module. It was particularly nasty because in my dev/staging site, on the same server, I ran the update and everything was still working fine. I therefore pushed the update to my bare git repo, which automatically checks it out to the live site. I ran the database updates on the live site but wham! WSOD. Definitely running the same code. Checked again and the staging site ticking over fine still, but live site WSOD. Not sure what made the difference between the update on one vs. migration then update for the other, but there it is.

Turning on errors in the index.php, got the error message above. Disabling the Twitter module fixed the problem.

Edit: Sidegrading to the much newer 6.x-dev fixed the issue. It would be good to have a new 6.x official release, as I prefer not to be on the -dev branch for sites where I can avoid it.

juampynr’s picture

Version: 7.x-3.0-beta4 » 7.x-3.x-dev

Can anybody provide steps to reproduce this issue?

13rac1’s picture

Status: Active » Closed (cannot reproduce)

Please reopen to provide steps to reproduce.

alexgreyhead’s picture

StatusFileSize
new19.16 KB

This just happened to me in the upgrade from 7.x-5.4 to 7.x-5.6. Steps to reproduce:

1) Update the code (see the diff attached)
2) Don't clear caches/run "drush cc all"
3) Try to visit a page which uses Twitter
4) The fatal PHP error "class 'TwitterUser' not found" should occur.

Alex