rotarytheme / rotarymembership Goto Github PK
View Code? Open in Web Editor NEWA WordPress membership directory plugin for Rotary Clubs
A WordPress membership directory plugin for Rotary Clubs
Hello,
I am getting this error:
[Thu Jan 22 07:49:54.622373 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP Fatal error: Cannot use object of type WP_Error as array in /var/www/wordpress/web/wp-content/plugins/rotarymembership/rotarypluginupdater.php on line 228
[Thu Jan 22 07:49:54.624090 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP Stack trace:
[Thu Jan 22 07:49:54.625514 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 1. {main}() /var/www/wordpress/web/wp-admin/index.php:0
[Thu Jan 22 07:49:54.627374 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 2. require_once() /var/www/wordpress/web/wp-admin/index.php:10
[Thu Jan 22 07:49:54.628335 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 3. require_once() /var/www/wordpress/web/wp-admin/admin.php:31
[Thu Jan 22 07:49:54.629461 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 4. require_once() /var/www/wordpress/web/wp-load.php:29
[Thu Jan 22 07:49:54.631181 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 5. require_once() /var/www/wordpress/web/wp-config.php:80
[Thu Jan 22 07:49:54.634593 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 6. include_once() /var/www/wordpress/web/wp-settings.php:215
[Thu Jan 22 07:49:54.635365 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 7. RotaryMembership->__construct() /var/www/wordpress/web/wp-content/plugins/rotarymembership/rotarymembership.php:394
[Thu Jan 22 07:49:54.635935 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 8. RotaryMembership->setup_plugin_updates() /var/www/wordpress/web/wp-content/plugins/rotarymembership/rotarymembership.php:48
[Thu Jan 22 07:49:54.636551 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 9. WP_GitHub_Updater->__construct() /var/www/wordpress/web/wp-content/plugins/rotarymembership/rotarymembership.php:80
[Thu Jan 22 07:49:54.637079 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 10. WP_GitHub_Updater->set_defaults() /var/www/wordpress/web/wp-content/plugins/rotarymembership/rotarypluginupdater.php:87
[Thu Jan 22 07:49:54.637594 2015] [:error] [pid 3052] [client 10.0.2.2:30919] PHP 11. WP_GitHub_Updater->get_new_version() /var/www/wordpress/web/wp-content/plugins/rotarymembership/rotarypluginupdater.php:156
I have fixed it by changing (rotarypluginupdater.php line 225):
if ( is_wp_error( $raw_response ) )
$version = false;
to
if ( is_wp_error( $raw_response ) )
return false;
The problem is because in my case (my wordpress development machine is behind proxy) wordpress cannot access external urls...
The error I am getting is ($raw_response->get_error_message();):
Failed to connect to raw.github.com port 443: Connection timed out
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.