wojsmol
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] don’t work on wp 6.1After updating plugin to version 3.2.14 following warning
Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php on line 342
Environment
WordPress 6.1
PHP 7.4Forum: Plugins
In reply to: [Facebook for WooCommerce] Fatal error on version 2.6.10Hi @nagdy
It’s matches because this is the same Wor5dPress installation. I created the linked issue on Github. We have additional reports in https://www.ads-software.com/support/topic/critical-bug-in-version-2-6-10/Forum: Plugins
In reply to: [Facebook for WooCommerce] Fatal error on version 2.6.10Hi all
For the record for me issue occurred on following setup:
WordPress 5.9.0 – latest on the time of plugin update – also occurs on WP 5.9.1
WooCommerce: 6.2.0
Facebook for WooCommerce:2.6.10
PHP Version: 7.1.9Forum: Plugins
In reply to: [Facebook for WooCommerce] Fatal error on version 2.6.10Hi
Issue is caused by additional,
on line 709 in this file in version 2.6.10 of the plugin. If you wont to update to0 this version then here is a fix
replace$block_sync = apply_filters( 'facebook_for_woocommerce_block_full_batch_api_sync', false, );
with
$block_sync = apply_filters( 'facebook_for_woocommerce_block_full_batch_api_sync', false );
- This reply was modified 2 years, 9 months ago by wojsmol.
Forum: Plugins
In reply to: [Pay by paynow.pl] Po update wtyczki 8.10.2021 strona pad?aProsz? pobra? zip ze strony wtyczki, rozpakowa? i przes?a? zawarto?? folderu pay-by-paynow-pl przez FTP do folderu wp-content/plugins/pay-by-paynow-pl/. Przez kilka godzin w pi?tek zip by? b??dnie generowany.
Forum: Plugins
In reply to: [Ray Enterprise Translation] Error after updating to version 1.4.15Already updated
Hi @wpinsider-1
Easy WP SMTP 1.4.2t1 is working with wrong SMTP host – displays debug log instead of php error.Hi @wpinsider-1
I faced this issue today on website with php 5.6 and WordPress 5.5.3. Issue occurs only when SMTP settings are incorrect and WP Easy SMTP is trying to raisePHPMailer\PHPMailer\Exception
. IMHO issue is caused by missingrequire_once ABSPATH . WPINC . '/PHPMailer/Exception.php';
ineasy-wp-smtp/easy-wp-smtp.php
instead ofif ( version_compare( $wp_version, '5.4.99' ) > 0 ) { require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php'; require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php'; $mail = new PHPMailer( true ); } else { require_once ABSPATH . WPINC . '/class-phpmailer.php'; $mail = new \PHPMailer( true ); }
this should be
if ( version_compare( $wp_version, '5.4.99' ) > 0 ) { require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php'; require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php'; require_once ABSPATH . WPINC . '/PHPMailer/Exception.php'; $mail = new PHPMailer( true ); } else { require_once ABSPATH . WPINC . '/class-phpmailer.php'; $mail = new \PHPMailer( true ); }
I’m using WP Easy SMTP version 1.4.1.
Forum: Developing with WordPress
In reply to: How to get WP-CLI to work with bash scripts?Hi @easy_c0mpany80
Help is still needed?Hi @ladyslynn
You can try adding--user=<id|login|email>
global parameter to your commands. Then even with authentication enabled commands should workForum: Developing with WordPress
In reply to: WP-CLI WP setup errorHi @fcvolunteer
If I understand your post correctly then you are using shared hosting withy ssh enabled. If so then please check your main account folder if.profile
or.bash_profile
files exits. If you find eider of this files then please check if then contain something like this:# set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi
and reply with your findings.
Forum: Fixing WordPress
In reply to: SimplePie Error I don’t understand@juniorspecial In this section of the wp-config.php file you see the cause of the error. In the comment the hacker added an include for the file / wp-includes/SimplePie/Content/error.php, the same fragment after removing the include should look like:
/**#@+ * Authentication Unique Keys and Salts. * * Change these to different unique phrases! * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secret-key service} * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again. * * @since 2.6.0 */
Check out https://codex.www.ads-software.com/FAQ_My_site_was_hacked
Forum: Fixing WordPress
In reply to: SimplePie Error I don’t understandHello
@juniorspecial Check carefully the content of the wp-config.php file near the line 39 and write what you found there.
Regards