Skip to content

Instantly share code, notes, and snippets.

View altuno's full-sized avatar

altuno

  • Swiss Photo Club
  • Switzerland
View GitHub Profile
Avada Versions:
### Avada Versions ###
Current Version: 5.1.6
Previous Version: 5.1.2 5.1.4 5.1.5
Avada 4.0 Conversion:: Rerun Theme Options Conversion from version 3.9.3 to version 4.0 manually.
Run Conversion
Rerun Theme Options Conversion from version 3.9.3 to version 4.0 manually.:
Avada 5.0 Conversion:: Rerun Shortcode Conversion from version 4.0.3 to version 5.0 manually.
[Thu May 04 11:04:25 2017] [error] [client 66.249.76.136] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: PHP message: product_type was called incorrectly. Les propri\xc3\xa9t\xc3\xa9s du produit ne doivent pas \xc3\xaatre accessible directement. Backtrace: require('wp-blog-header.php'), wp, WP->main, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, Quick_Checkout_Product->quick_checkout_product_init, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0., referer: https://www.genevaphotoclub.com/fr/produit/cours-prive-6-heures-pack/
[Thu May 04 11:04:25 2017] [error] [client 66.249.76.136] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: PHP message: product_type was called incorrectly. Les propri\xc3\xa9t\xc3\xa9s du produit ne doivent pas \xc3\xaatre accessible directement. Backtrace: requir
@altuno
altuno / Server Log
Created May 5, 2017 10:59
Server Log during "White page" after upgrading to WooCommerce MultiLingual 4.1.3
[Thu May 04 09:43:18 2017] [error] [client 52.71.86.129] Rejected, too many connections from this host. (vhost:www.genevaphotoclub.com uri:/courses/intermediate-photography-weekday-evening-class/ current:31 limit:30, referer: https://www.genevaphotoclub.com
[Thu May 04 09:43:19 2017] [error] [client 52.71.86.129] Rejected, too many connections from this host. (vhost:www.genevaphotoclub.com uri:/courses/street-photography-course/ current:31 limit:30, referer: https://www.genevaphotoclub.com
[Thu May 04 09:43:19 2017] [error] [client 52.71.86.129] Rejected, too many connections from this host. (vhost:www.genevaphotoclub.com uri:/courses/portrait-photography-course/ current:31 limit:30, referer: https://www.genevaphotoclub.com
[Thu May 04 09:43:19 2017] [error] [client 52.71.86.129] Rejected, too many connections from this host. (vhost:www.genevaphotoclub.com uri:/courses/night-low-light-photography-course/ current:31 limit:30, referer: https://www.genevaphotoclub.com
[Thu May 04 09:43:19 2017] [error] [client 5
<?php
/*
Plugin Name: Site plugin for genevaphotoclub.com
Description: Site specific code for genevaphotoclub.com
*/
/* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */
//* Gravity forms hide labels option enable
add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' );
//* Add instructor name to EE4 CSV Download
add_filter( 'FHEE__EE_Export__report_registrations__reg_csv_array', 'espresso_add_author_to_report', 10, 2);
function espresso_add_author_to_report( $reg_csv_array, $reg_row ) {
$event_id = $reg_row['Registration.EVT_ID'];
$event = EEM_Event::instance()->get_one_by_ID( $event_id );
if ( $event instanceof EE_Event ) {
$post_author = get_post_field( 'post_author', $event_id );
$author_info = get_userdata( $post_author );
$reg_csv_array['Author'] = $author_info->last_name . ", " . $author_info->first_name;
[Fri Dec 02 11:46:30 2016] [error] [client 84.72.221.195] File does not exist: /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/dev/fr, referer: https://www.genevaphotoclub.com/dev/?page_id=10998
[Fri Dec 02 11:46:51 2016] [error] [client 84.72.221.195] File does not exist: /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/dev/fr, referer: https://www.genevaphotoclub.com/dev/?page_id=10998
[Fri Dec 02 12:11:04 2016] [error] [client 83.79.20.79] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: PHP message: PHP Fatal error: Uncaught Error: Call to a member function format() on boolean in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/plugins/event-espresso-core-reg/core/domain/entities/DbSafeDateTime.php:52, referer: https://www.genevaphotoclub.com/registration-checkout/?uts=1480676938
[Fri Dec 02 12:11:04 2016] [error] [client 83.79.20.79] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/
[08-Nov-2016 14:30:05 UTC] PHP Notice: Undefined offset: 0 in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/uploads/espresso/templates/template.oa.php on line 104
[08-Nov-2016 14:30:05 UTC] PHP Notice: Trying to get property of non-object in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/uploads/espresso/templates/template.oa.php on line 104
[08-Nov-2016 14:30:05 UTC] PHP Notice: Undefined offset: 0 in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/uploads/espresso/templates/template.oa.php on line 107
[08-Nov-2016 14:30:05 UTC] PHP Notice: Trying to get property of non-object in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/uploads/espresso/templates/template.oa.php on line 107
[08-Nov-2016 14:30:07 UTC] PHP Notice: Undefined offset: 0 in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/uploads/espresso/templates/template.oa.php on line 190
[08-Nov-2016 14:30:07 UTC] PHP Notice: Trying to get property of non-object in /home/clie
[07-Nov-2016 22:39:30 UTC] PHP Notice: Undefined variable: wc_cart in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/themes/Avada/includes/woo-config.php on line 714
[07-Nov-2016 22:39:31 UTC] PHP Notice: Undefined variable: wc_cart in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/themes/Avada/includes/woo-config.php on line 714
[07-Nov-2016 22:39:32 UTC] PHP Notice: Undefined offset: 0 in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/plugins/wp-google-analytics-events/ga-scroll-event.php on line 170
[07-Nov-2016 22:39:32 UTC] PHP Notice: Undefined variable: wc_cart in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/themes/Avada/includes/woo-config.php on line 714
[07-Nov-2016 22:39:36 UTC] PHP Notice: Undefined variable: wc_cart in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/themes/Avada/includes/woo-config.php on line 714
[07-Nov-2016 22:39:36 UTC] PHP Notice: Undefined offset: 0 in /home/clients/1d989383ee11099bb2d8468c003
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php
[07-Nov-2016 22:39:30 UTC] PHP Notice: Undefined variable: wc_cart in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/themes/Avada/includes/woo-config.php on line 714
[07-Nov-2016 22:39:31 UTC] PHP Notice: Undefined variable: wc_cart in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/themes/Avada/includes/woo-config.php on line 714
[07-Nov-2016 22:39:32 UTC] PHP Notice: Undefined offset: 0 in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/plugins/wp-google-analytics-events/ga-scroll-event.php on line 170
[07-Nov-2016 22:39:32 UTC] PHP Notice: Undefined variable: wc_cart in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/themes/Avada/includes/woo-config.php on line 714
[07-Nov-2016 22:39:36 UTC] PHP Notice: Undefined variable: wc_cart in /home/clients/1d989383ee11099bb2d8468c003d5c0c/web/wp-content/themes/Avada/includes/woo-config.php on line 714
[07-Nov-2016 22:39:36 UTC] PHP Notice: Undefined offset: 0 in /home/clients/1d989383ee11099bb2d8468c003