Skip to content

Instantly share code, notes, and snippets.

View altuno's full-sized avatar

altuno

  • Swiss Photo Club
  • Switzerland
View GitHub Profile
[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
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.
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php
[Tue May 08 13:47:15 2018] [error] [client 193.134.194.90] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: PHP message: A valid DateTime could not be generated from "-0001-11-30 01:00:00 +0100 Europe/Zurich" because the following errors occurred: <br /> Array, referer: https://www.genevaphotoclub.com/registration-checkout/?uts=1525779874
[Tue May 08 13:47:15 2018] [error] [client 193.134.194.90] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: (, referer: https://www.genevaphotoclub.com/registration-checkout/?uts=1525779874
[Tue May 08 13:47:15 2018] [error] [client 193.134.194.90] FastCGI: server "/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external" stderr: [warning_count] => 0, referer: https://www.genevaphotoclub.com/registration-checkout/?uts=1525779874
[Tue May 08 13:47:15 2018] [error]
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php
function tw_change_access_message( $original_text, $ticket, $ticket_price, $ticket_status ) {
return sprintf(
'Prix de membre | Member price: %3$s. <br /><br /><a href="/fr/login/">Se connecter</a> | <a href="/login/">Login</a><br /><br /><a href="/fr/devenir-membre/">Devenez membre</a> | <a href="/become-a-member/">Become a member</a>',
'<strong>',
$ticket->name(),
$ticket->price(),
'</strong>',
$ticket_status
);
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php
<style>
.time{
min-width:100px;
}
.start_date{
min-width:60px;
}
</style>
<?php
<?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! */
add_action( 'init', function() {
remove_all_filters( 'rest_url' );
} );
@altuno
altuno / gist:ee701858b6951f5163d453b5ac9f0847
Created March 19, 2020 12:06
EE4 Add Author filter to Events view
//* EE4 Add User Filter Event View
add_action('admin_head','woocommerce_js');
function woocommerce_js()
{
echo '<style>
.authors_custom {
display:none;
}