Welcome, Guest
Username: Password: Remember me

TOPIC: PHP Deprecated: Non-static method joautotwitter

PHP Deprecated: Non-static method joautotwitter 8 years 1 month ago #3204

I dont see any update available for autotwitter (on JED i just found "last update Mar 02 2015").

I get following error in my errorlog:

[Fri Feb 12 08:01:01 2016] [warn] [client 69.162.124.234] mod_fcgid: stderr: PHP Deprecated: Non-static method joautotwitter::twitterformpost() should not be called statically, assuming $this from incompatible context in xxxx/plugins/system/jo_autopost_twitter/jo_autopost_twitter.php on line 99

Jo Auto Twitter 3.3, Joomla 3.4.8, PHP Version 5.6.18

thanx
j.feenders
The administrator has disabled public write access.

PHP Deprecated: Non-static method joautotwitter 8 years 1 month ago #3205

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello j.feenders
Please help me find and open file: plugins/system/jo_autopost_twitter/jo_autopost_twitter.php and go to line 99 and change
$output .= joautotwitter::twitterformpost($a_id, $content_type);
To
$output .= @joautotwitter::twitterformpost($a_id, $content_type);

Or can you send me joomla administrator via contact form and we will help you fixed it
Best regards
Bach Pham
Last Edit: 8 years 1 month ago by Super User.
The administrator has disabled public write access.
The following user(s) said Thank You: j feenders

PHP Deprecated: Non-static method joautotwitter 8 years 1 month ago #3206

I did change the code as posted.
Thanx
j.feenders
Last Edit: 8 years 1 month ago by j feenders.
The administrator has disabled public write access.

PHP Deprecated: Non-static method joautotwitter 8 years 1 month ago #3208

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
B) B)
The administrator has disabled public write access.
Time to create page: 0.041 seconds