prionkor
Forum Replies Created
-
Thank you for replying so fast! Yes, if possible I would like to move both directories.
Also is there any github mirror for this plugin? Browsing code in wordpress trac is painful.Thank you! My thought was login attempt was from a different endpoint then the login page. Blocking xmlrpc sounds like the correct solution. i will close this thread now. Will reopen if issue doesn’t solve.
Thanks again everyone for your help!
Puzzling thing is that we have both captcha and honeypot enabled. Anyways, I have enabled cookie protection. See how this goes for next few days.
There aren’t any other instance of login form.
Forum: Plugins
In reply to: [Yoast SEO] Uncaught TypeErrorWhen I rolled back to 19.10 the problem is gone. So that may narrow it down for the yoast team.
Forum: Plugins
In reply to: [Yoast SEO] Uncaught TypeErrorPHP version: 8.0
Got the same issue. Here is my stack trace:
<pre><code>[04-Dec-2022 16:41:10 UTC] PHP Fatal error: Uncaught TypeError: Yoast\WP\SEO\Generators\Breadcrumbs_Generator::Yoast\WP\SEO\Generators\{closure}(): Argument #1 ($ancestor) must be of type Yoast\WP\SEO\Models\Indexable, bool given in /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/breadcrumbs-generator.php:141 Stack trace: #0 [internal function]: Yoast\WP\SEO\Generators\Breadcrumbs_Generator->Yoast\WP\SEO\Generators\{closure}() #1 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/breadcrumbs-generator.php(168): array_map() #2 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-presentation.php(765): Yoast\WP\SEO\Generators\Breadcrumbs_Generator->generate() #3 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php(64): Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_breadcrumbs() #4 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/schema/breadcrumb.php(37): Yoast\WP\SEO\Presentations\Abstract_Presentation->__get() #5 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php(129): Yoast\WP\SEO\Generators\Schema\Breadcrumb->generate() #6 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php(76): Yoast\WP\SEO\Generators\Schema_Generator->generate_graph() #7 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-presentation.php(754): Yoast\WP\SEO\Generators\Schema_Generator->generate() #8 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php(64): Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema() #9 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/schema-presenter.php(60): Yoast\WP\SEO\Presentations\Abstract_Presentation->__get() #10 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/schema-presenter.php(44): Yoast\WP\SEO\Presenters\Schema_Presenter->get() #11 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(326): Yoast\WP\SEO\Presenters\Schema_Presenter->present() #12 /home/example.com/public_html/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head() #13 /home/example.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #14 /home/example.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(300): do_action() #16 /home/example.com/public_html/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head() #17 /home/example.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #18 /home/example.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #19 /home/example.com/public_html/wp-includes/general-template.php(3043): do_action() #20 /home/example.com/public_html/wp-content/themes/short-news-pro/header.php(22): wp_head() #21 /home/example.com/public_html/wp-includes/template.php(783): require_once('...') #22 /home/example.com/public_html/wp-includes/template.php(718): load_template() #23 /home/example.com/public_html/wp-includes/general-template.php(48): locate_template() #24 /home/example.com/public_html/wp-content/plugins/sport-events/inc/templates/template-wse-single.php(10): get_header() #25 /home/example.com/public_html/wp-includes/template-loader.php(106): include('...') #26 /home/example.com/public_html/wp-blog-header.php(19): require_once('...') #27 /home/example.com/public_html/index.php(17): require('...') #28 {main} thrown in /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/breadcrumbs-generator.php on line 141
- This reply was modified 1 year, 4 months ago by prionkor.
Forum: Plugins
In reply to: [Yoast SEO] Breadcrumb schema generator fatal errorRolled back to 19.10 and it fixed the issue.
Forum: Plugins
In reply to: [Yoast SEO] Breadcrumb schema generator fatal errorSame error happens for php 8.0 as well.
Here is my stack trace!
[04-Dec-2022 16:41:10 UTC] PHP Fatal error: Uncaught TypeError: Yoast\WP\SEO\Generators\Breadcrumbs_Generator::Yoast\WP\SEO\Generators\{closure}(): Argument #1 ($ancestor) must be of type Yoast\WP\SEO\Models\Indexable, bool given in /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/breadcrumbs-generator.php:141 Stack trace: #0 [internal function]: Yoast\WP\SEO\Generators\Breadcrumbs_Generator->Yoast\WP\SEO\Generators\{closure}() #1 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/breadcrumbs-generator.php(168): array_map() #2 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-presentation.php(765): Yoast\WP\SEO\Generators\Breadcrumbs_Generator->generate() #3 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php(64): Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_breadcrumbs() #4 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/schema/breadcrumb.php(37): Yoast\WP\SEO\Presentations\Abstract_Presentation->__get() #5 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php(129): Yoast\WP\SEO\Generators\Schema\Breadcrumb->generate() #6 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php(76): Yoast\WP\SEO\Generators\Schema_Generator->generate_graph() #7 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-presentation.php(754): Yoast\WP\SEO\Generators\Schema_Generator->generate() #8 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php(64): Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema() #9 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/schema-presenter.php(60): Yoast\WP\SEO\Presentations\Abstract_Presentation->__get() #10 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/schema-presenter.php(44): Yoast\WP\SEO\Presenters\Schema_Presenter->get() #11 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(326): Yoast\WP\SEO\Presenters\Schema_Presenter->present() #12 /home/example.com/public_html/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head() #13 /home/example.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #14 /home/example.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(300): do_action() #16 /home/example.com/public_html/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head() #17 /home/example.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #18 /home/example.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #19 /home/example.com/public_html/wp-includes/general-template.php(3043): do_action() #20 /home/example.com/public_html/wp-content/themes/short-news-pro/header.php(22): wp_head() #21 /home/example.com/public_html/wp-includes/template.php(783): require_once('...') #22 /home/example.com/public_html/wp-includes/template.php(718): load_template() #23 /home/example.com/public_html/wp-includes/general-template.php(48): locate_template() #24 /home/example.com/public_html/wp-content/plugins/sport-events/inc/templates/template-wse-single.php(10): get_header() #25 /home/example.com/public_html/wp-includes/template-loader.php(106): include('...') #26 /home/example.com/public_html/wp-blog-header.php(19): require_once('...') #27 /home/example.com/public_html/index.php(17): require('...') #28 {main} thrown in /home/example.com/public_html/wp-content/plugins/wordpress-seo/src/generators/breadcrumbs-generator.php on line 141
Adam,
So, basically we need to rename the cache html file to something more predictable. Then serve via nginx.
I will try out this code and let you know. Thank you for going above and beyond with the support! Really appreciate it.
Forum: Plugins
In reply to: [WebP Express] Possible PHP 8 Type error – Uncaught Error: array_merge()please merge the pull request https://github.com/rosell-dk/webp-express/pull/570
Adam, That is fine. I will wait for a reply 🙂
Forum: Plugins
In reply to: [WebP Express] Possible PHP 8 Type error – Uncaught Error: array_merge()Issue opened in github. Closing this here.
Forum: Plugins
In reply to: [WebP Express] Possible PHP 8 Type error – Uncaught Error: array_merge()Line #292 should change
from
$converterSpecificWebpConvertOptions = $converter['options'];
to
$converterSpecificWebpConvertOptions = isset($converter['options']) ? $converter['options'] : [];
Thank you for the direction! I was able to create a smart tag that allows adding email from http $_POST.
NOTE: It also supports query var if you are already linking your form page using query var and email (you should not!).
Here is the code if anyone interested!
/** * Register the Smart Tag so it will be available to select in the form builder. * * @link https://wpforms.com/developers/how-to-create-a-custom-smart-tag/ * */ function aud_http_request_email( $tags ) { // Key is the tag, item is the tag name. $tags['http_request_email'] = '$_REQUEST Email'; return $tags; } add_filter( 'wpforms_smart_tags', 'aud_http_request_email' ); /** * Process the Smart Tag. * * @link https://wpforms.com/developers/how-to-create-a-custom-smart-tag/ * */ function aud_http_request_email_smart_tag_process( $content, $tag ) { // Only run if it is our desired tag. if ( 'http_request_email' === $tag ) { if( isset( $_REQUEST['email'] ) && is_email( $_REQUEST['email'] ) ){ // Replace the tag email return sanitize_email( $_REQUEST['email'] ); } // replace tag with empty string return ''; } return $content; } add_filter( 'wpforms_smart_tag_process', 'aud_http_request_email_smart_tag_process', 10, 2 );
# How to use this code?
You can use https://wordpress.org/plugins/code-snippets/ plugin to add this code into your site. Or you can paste the php into your themes functions.php file.
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Instagram Icon MIssingDid you try re-saving your menu?
1. From the menu uncheck fontawesome and save.
2. Refresh the page Check fontawesome and save. Then make sure you choose fontawesome icon on the menu item settings.
3. Save the menu.This worked for me, I was having similar issue. Although I am not sure if this will help you.