ppe29
Forum Replies Created
-
I had the same issue and just uninstalled the plugin. Let us know when y’all sort it out and maybe I’ll re-install, but I’m not spending hours troubleshooting random changes plugin developers make to plugins that weren’t broken.
Been seeing this since the WP6.2 update, too. I tried disabling all plugins, but turning off the usual suspects didn’t reveal anything new. I ended up turning off debugging by setting it to false in the wpconfig file. That at least makes it so the customer can’t see the error on the front end.
The error code led me to line 5413 in my functions.php file, which is right in the meaty part of this long code about how to handle deprecated functions. Where you see the first E_USER_DEPRECATED is where line 5413 is located. I see this error a dozen times:
Deprecated: Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead. in /home1/myhostservername/mysite.com/wp-includes/functions.php on line 5413
/**
- Marks a function as deprecated and inform when it has been used.
* - There is a hook {@see ‘deprecated_function_run’} that will be called that can be used
- to get the backtrace up to what file and function called the deprecated
- function.
* - The current behavior is to trigger a user error if
WP_DEBUGis true.
* - This function is to be used in every function that is deprecated.
* - @since 2.5.0
- @since 5.4.0 This function is no longer marked as “private”.
- @since 5.4.0 The error type is now classified as E_USER_DEPRECATED (used to default to E_USER_NOTICE).
* - @param string $function_name The function that was called.
- @param string $version The version of WordPress that deprecated the function.
- @param string $replacement Optional. The function that should have been called. Default empty string.
*/
function _deprecated_function( $function_name, $version, $replacement = ” ) { /**- Fires when a deprecated function is called.
* - @since 2.5.0
* - @param string $function_name The function that was called.
- @param string $replacement The function that should have been called.
- @param string $version The version of WordPress that deprecated the function.
*/
do_action( ‘deprecated_function_run’, $function_name, $replacement, $version );
- Filters whether to trigger an error for deprecated functions.
* - @since 2.5.0
* - @param bool $trigger Whether to trigger the error for deprecated functions. Default true.
/ if ( WP_DEBUG && apply_filters( ‘deprecated_function_trigger_error’, true ) ) { if ( function_exists( ‘‘ ) ) { if ( $replacement ) { trigger_error( sprintf( / translators: 1: PHP function name, 2: Version number, 3: Alternative function name. / ( ‘Function %1$s is deprecated since version %2$s! Use %3$s instead.’ ), $function_name, $version, $replacement ), E_USER_DEPRECATED ); } else { trigger_error( sprintf( / translators: 1: PHP function name, 2: Version number. */
__( ‘Function %1$s is deprecated since version %2$s with no alternative available.’ ),
$function_name,
$version
),
E_USER_DEPRECATED
);
}
} else {
if ( $replacement ) {
trigger_error(
sprintf(
‘Function %1$s is deprecated since version %2$s! Use %3$s instead.’,
$function_name,
$version,
$replacement
),
E_USER_DEPRECATED
);
} else {
trigger_error(
sprintf(
‘Function %1$s is deprecated since version %2$s with no alternative available.’,
$function_name,
$version
),
E_USER_DEPRECATED
);
}
}
}
}
- Fires when a deprecated function is called.
Forum: Plugins
In reply to: [WooCommerce] How to expand short description by default?It was stupid to force this change, especially so close to the holidays. You’re just adding steps to workflows that don’t have time for added steps. Even having to custom delete code wastes time researching the problem, researching the solution, backing the sites up in case tragedy strikes when changing function code, and then implementing the “fix” across literally HUNDREDS of sites one at a friggin time. Woocommerce/Wordpress is starting to develop the same issues as Adobe in that it all seems to be developed by people who don’t actually USE the products they code. If they did, they would have known how stupid this change was.
That error message indicates there’s still an unhappy email server. It would be helpful if you provided screen shots of all your settings, otherwise it’s impossible to know where to begin.
I figured it out by using a hotmail account instead of Gmail, but I know how to do it with gmail too.
For Hotmail:
Go into your settings>mail>sync email and set LET DEVICES AND APPS USE POP to YES and set DEVICES AND APPS THAT USE POP CAN BE SET TO DELETE MESSAGES FROM OUTLOOK AFTER DOWNLOAD to “Don’t allow devices and apps to delete messages from Outlook. It will move the messages to a special POP folder instead.” Then note the SMTP settings:Server name = smtp.office365.com
Port = 587
Encryption method = STARTTLSOnce you save those settings in your Easy WP SMTP plugin, the test should run successfully. See screenshot here: https://paste.pics/38027996de34b5b3c3b1106fa274b3fd
For Gmail:
The first thing you need to do is activate 2FA (2 factor authorization) in your Gmail. To do so, log into Gmail and click on the 9-square hamburger menu at the top right. Once you click on that, click on Account. My icon is a “P” b/c the first name of the account starts with “P”, so yours will be whatever your account’s first initial is. (See screenshot: https://paste.pics/6023a25c246a3a635c05e2bc3c3b4343Once you’re in, click on SECURITY on the left, then scroll down until you find the 2-step verification option and turn it ON. When you’ve authorized 2FA, then click on APP PASSWORDS, which is located right below the 2FA option. See screenshot: https://paste.pics/ec3559c5383aeb42b2ccc05571ace6d4
Once you click on APP PASSWORD, it’ll ask you to put in your gmail password. Then you’ll be re-directed to create a new app password. Where it says “SELECT APP”, choose “Other (Custom Name)”, then name it whatever you want, and then click GENERATE. Here’s a screenshot: https://paste.pics/856ce506040c16f6c5b51ebd726f8b00
When you click GENERATE, it’ll create a unique password for you. Copy that password, go to your WordPress website dashboard, go to the Easy WP SMTP plugin settings, and towards the bottom you’ll use your same SMTP email but instead of the regular password to that email account, you’ll use this new Google-generated password. Don’t forget to click save. I have created 2 screenshots to show you this part:
1. https://paste.pics/63089077256e45971feb842453e8ade8
2. https://paste.pics/b5a19196ccf1699e15122356844cc15eHope that helps…
Hi Shahjahan,
Great work on the plugin. It really is well done.Improvements I would suggest are mostly about ease of use. If you refer back to my forum, you’ll see how the solution to my problem wasn’t an easy one, and would’ve taken a long time to figure out if not for Kevin’s superb assistance.
I’m still having some minor issues with the solution, but none that are a deal breaker. For example, the table loses some of its formatting when the short code is inserted into an accordion compared to a regular text module. I’m using the DIVI theme.
Kevin also had to provide me with CSS in order to fix a bug with the cell outlines.
And, b/c the table we were working on had a customized header row, I had to add CSS in order to shade those cells in gray.
So again, great plugin that I challenged on my very first need for it. It worked and it looks great. I would only suggest making it a little easier to use when doing colspan and rowspan, as well as the ability to ‘single-click shade’ specific cells.
Thanks! Looking forward to creating more tables.
- This reply was modified 7 years ago by ppe29. Reason: TYPO
Forum: Plugins
In reply to: [Testimonial Rotator] Change picture sizeI changed the size by adding the CSS below, but when I changed to rotator view, the code only works when I’m in inspect mode on Chrome.
.testimonial_rotator_img {
width: 100%;
max-width: 275px;
height: 350px;
}I tried adding this, but it didn’t work either:
.testimonial_rotator_single.has-image.template-default {
width: 100%;
max-width: 275px;
height: 350px;
}But the CSS I added to change the color of the stars has remained throughout both the single and rotator view:
.testimonial_rotator_star {
color: #ff551d
}Any ideas how I can change the image to a new default size of 350 x 275?
- This reply was modified 7 years, 9 months ago by ppe29.
- Marks a function as deprecated and inform when it has been used.