matthijs
Forum Replies Created
-
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Test mode credit card not workingHi David,
Thanks for your answer! The Dashboard that’s been talked about here, is that the WordPress Dashboard or the Mollie dashboard?
I do have CC active in the wordpress dashboard.
best,
MatthijsForum: Plugins
In reply to: [Download Monitor] Version 4.0.4. breaks upload functionalityYes, that fixes the problem! Thanks a lot.
Forum: Plugins
In reply to: [Download Monitor] Version 4.0.4. breaks upload functionalityOk good to hear you can confirm it. Sorry I wasn’t able to give more debugging info. Was caught up in work.
Forum: Plugins
In reply to: [WP Migrate Lite - Migration Made Easy] Problems with Latest Update V. 0.9.1That’s incredible fast. Thanks a lot!
Forum: Plugins
In reply to: [WP Migrate Lite - Migration Made Easy] Problems with Latest Update V. 0.9.1I can confirm this problem. This is the error PHP throws:
PHP Fatal error: Uncaught Error: Call to a member function is_writable() on null in /Sites/test/wp-content/plugins/wp-migrate-db/class/wpmdb.php:950 Stack trace: #0 /Sites/test/wp-includes/class-wp-hook.php(298): WPMDB->ajax_initiate_migration('') #1 /Sites/test/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /Sites/test/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /Sites/test/wp-admin/admin-ajax.php(91): do_action('wp_ajax_wpmdb_i...') #4 {main} thrown in /test/wp-content/plugins/wp-migrate-db/class/wpmdb.php on line 950I don’t know enough about the way wordpress actions work to be able to help. It’s not clear to me what
remove_action( ‘save_post’, ‘wpt_twit’, 15 );
wpt_twit_instant( $id );
add_action( ‘save_post’, ‘wpt_twit’, 15 );
from within the function wpt_twit itself does exactly. So wp_twit is called from outside somewhere, and then it removes itself from save_post? And after that adds itself again.The problem with polylang occurs when you fill in a meta box field. Those meta box fields are for the other languages. In that meta box field you type and an ajax search is done to see if a post in that other language exists with the title you are typing.
Ok found the change of code that is causing the problem. But don’t know why yet. File wp-to-twitter.php line 1815 and 1817. Those were added between 3.2.11 and 3.2.122. If I comment those out, the problem with Polylang disappears.
function wpt_twit( $id ) { if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE || wp_is_post_revision( $id ) || ! wpt_in_post_type( $id ) ) { return; } $post = get_post( $id ); if ( $post->post_status != 'publish' ) { return; } // is there any reason to accept any other status? //remove_action( 'save_post', 'wpt_twit', 15 ); wpt_twit_instant( $id ); //add_action( 'save_post', 'wpt_twit', 15 ); }Thanks for the help investigating this. I’ll try to check some possibilities tomorrow, after a good night sleep 🙂
I can confirm that there is a conflict between the PolyLang plugin and the WP to Twitter plugin.
https://ww.wp.xz.cn/plugins/wp-to-twitter/In version 3.2.12 and 3.2.13 the problem with associating languages occurs. In version 3.2.11 everything works fine.
Forum: Plugins
In reply to: [Pronamic Pay] PHP Warning in iDeal gatewaysOk that’s good to hear. I was afraid I had done something wrong.
Thanks for the quick reply!
Forum: Plugins
In reply to: [WP Event Calendar] Version 0.2.3 broken because of missing capabilitiesThanks John, that fixed it!
Forum: Themes and Templates
In reply to: Change order of widgets display on siteOk so in the meantime I got it working. However, I’m not sure about the method
$wdg = wp_get_sidebars_widgets(); $primary_widgets = $wdg['primary']; shuffle($primary_widgets); $wdg['primary'] = $primary_widgets; wp_set_sidebars_widgets($wdg);This works, but it doesn’t only shuffle the visual display of the widgets on output, it actually changes the order of the widgets in the database, for each page refresh of the website. I would prefer a method which would just
– get the widgets for the sidebar
– randomly change the order
– displayForum: Plugins
In reply to: [Plugin: Clean-Contact] Multi language supportNot sure if it’s an improvement with the language support. As it used to be I could easily translate the form labels in my text editor by editing fieldset.js. Now I have to do something with creating a po/mo file using a special po-editor? Which file has to be created exactly?
Wouldn’t it be easier to just have a plain text config/translate file?
Forum: Fixing WordPress
In reply to: Complete blank screenAfter finding another thread here with the advice of adding
define(‘WP_DEBUG’, TRUE);
to my config file, I found out the problem was a faulty akismet plugin. Apparently it was corrupt or something. I could not have imagined that that would lead to such a blank screen.Forum: Fixing WordPress
In reply to: Endless UTF-8 character troubleSo another WordPress website. Again character encoding problems. This time an older install, wp 2.6.
1- Characters display fine on website, sent headers are utf-8, meta content-type is also utf-8.
2- Characters display fine in backupped .sql file (made by backup plugin) when I open them in my texteditor
3- However, the sql dump says table fields are latin1_general_ci and db tables are CHARSET=latin1
3- Create local db in phpMyAdmin
4- Import backup sql fileAnd then, suddenly characters display wrong. ë displays as �
After adding
define(‘DB_CHARSET’, ‘utf8’); // force utf8
define(‘DB_COLLATE’, ‘utf8_general_ci’); // force collation
to the local wp-config file, characters display fine again?What is happening here?
a) Are the original characters in the live website latin or UTF-8?
b) Is it the fault of the db backup plugin that the fields and tables are written as latin instead of utf-8?
c) Is it a problem of my local phpmyadmin install?