Alex Spataru
Forum Replies Created
-
Forum: Plugins
In reply to: [Premmerce Permalink Manager for WooCommerce] PHP Deprecated in 8.1Hi,
I checked the line with the issue. This is the line with the issue:
$commentsPosition = strpos( $slug, 'comment-page-' );
I have tried the following code for testing purposes
$data = strpos( null, 'comment-page-' );
While running the test, I got the same PHP Deprecated warning.
This is a straightforward fix: just make sure the variable $slug has the data type of string and the issue should be gone.
If we take a look at the php.net documentation we see this, which confirms the function expects a different data type (string, instead of null).
strpos(string $haystack, string $needle, int $offset = 0): int|false
Forum: Plugins
In reply to: [WP Search Insights - Privacy-Friendly Search Analytics] Version bumpIt doesn’t seem to be maintained anymore. I got rid of it and switched to WP Search Analytics. It has great support and it does everything this plugin does and some more.
Forum: Plugins
In reply to: [ActiveCampaign for WooCommerce] Bug in version 2.5.2Came here with yet another confirmation. The issue comes from
activecampaign-for-woocommerce/admin/css/activecampaign-for-woocommerce-admin.css
Specifically, this rule.fixed { position: fixed; }
I think you should actually disable all those CSS rules, as they affect all the elements with the generic classes
.visible { visibility: visible } .invisible { visibility: hidden } .static { position: static } .fixed { position: fixed; } .absolute { position: absolute } .relative { position: relative } .sticky { position: sticky }
Thank you for the very fast fix! Yes, I can confirm I no longer have issues caused by the plugin.
Hi,
I just updated the plugin and it crashed my both local & staging environments.
How can you release a new version without test it?
I can confirm this plugin is causing a lot of debug data. This is a trace from Query Monitor plugin:
wp-includes/functions.php:5313 WP_Scripts->localize() wp-includes/functions.wp-scripts.php:221 wp_localize_script() wp-content/plugins/post-smtp/Postman/PostmanViewController.php:173 PostmanViewController->registerStylesAndScripts() wp-includes/class-wp-hook.php:292 do_action('admin_init') wp-admin/admin.php:175
Hi,
I did test the permalinks save and it didn’t do the trick.
I still think there is a bug on your plugin.
Forum: Plugins
In reply to: [Autoptimize] Undefined index after update 2.8.1Because you’re logging notices I guess?
Uhmmm… what’s wrong with debugging notices? How else can I realize if a site has errors or not?
A “harmless” notice can lead to a bigger problem, if it’s long-time ignored.
Forum: Plugins
In reply to: [Autoptimize] Undefined index after update 2.8.1I have installed Version 2.8.1 and my debug.log keeps populated with:
PHP Notice: Undefined index: autoptimize_imgopt_number_field_7 in /var/www/vhosts/mysite/httpdocs/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 773
Any ideas why?
Edit:
After navigating to Autoptimize Settings -> Images and changing Lazy-load from nth image from 0 to 1 did the trick.
Thank you,
Alex- This reply was modified 3 years, 11 months ago by Alex Spataru.
Hi,
I was about to open a similar support topic but I’ll reply to this one instead.
I’m having the same warning due to the fact that you’re trying to get a directory instead of a file
[12-Oct-2020 08:49:57 UTC] PHP Warning: file_get_contents(wp-content/plugins/masterstudy-lms-learning-management-system/assets/css/parts/scorm): failed to open stream: Permission denied in wp-content/plugins/masterstudy-lms-learning-management-system/lms/generate_styles.php on line 102
I solved the issue by changing the file masterstudy-lms-learning-management-system/lms/generate_styles.php – line 101 into:
if ( is_dir($style) || !file_exists($style) ) continue;
Hi,
I changed from PHPMailer to PostSMTP and I still see this PHP Deprecated notice:
[03-Aug-2020 10:01:17 UTC] PHP Deprecated: class-phpmailer.php is <strong>deprecated</strong> since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in wp-includes/functions.php on line 4963
Once I deactivate the plugin, the PHP Deprecation notice is gone.
Alex
Hi,
Sorry for the late reply, I just didn’t get any notification for this thread.
Last time I checked, everything was working correctly. However, I no longer have time to check the plugin after every single WordPress / WooCommerce update.
Best regards,
AlexForum: Plugins
In reply to: [SiteOrigin Widgets Bundle] Notice on archive pageHi,
Thank you. Great news!
Forum: Reviews
In reply to: [Speed Optimizer - The All-In-One Performance-Boosting Plugin] Relative PathsThe 1* is for insisting it’s a bug on my install while my install is your default install (from cPanel).
Not to mention, you never thanked me for doing some free debugging for you.
You need to improve this.
Forum: Reviews
In reply to: [Speed Optimizer - The All-In-One Performance-Boosting Plugin] Relative PathsThen, you deserve 1* instead of 2*. Thank you.