Forum Replies Created

Viewing 15 replies - 136 through 150 (of 319 total)
  • Hola
    Tengo este error similar y ocurre cada vez que actualizo plugins.

    [29-Jan-2023 00:07:19 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wpvulnerability/includes/helpers-api.php:36
    Stack trace:
    #0 /home/customer/www/my-domain.com/public_html/wp-content/plugins/wpvulnerability/includes/helpers-api.php(77): wpvulnerability_get('plugin', 'lock-user-accou...')
    #1 /home/customer/www/my-domain.com/public_html/wp-content/plugins/wpvulnerability/includes/class-plugins-wpvulnerability.php(173): wpvulnerability_get_plugin('lock-user-accou...', '1.0.4')
    #2 /home/customer/www/my-domain.com/public_html/wp-content/plugins/wpvulnerability/includes/class-plugins-wpvulnerability.php(215): Plugins_WPVulnerability->get_fresh_plugin_vulnerabilities(Array, 'lock-user-accou...')
    #3 /home/customer/www/my-domain.com/public_html/wp-content/plugins/wpvulnerability/includes/class-cli-wpvulnerability.php(24): Plugins_WPVulnerability->get_installed_plugins()
    #4 /home/customer/www/my-domain.com/public_html/ in /home/customer/www/my-domain.com/public_html/wp-content/plugins/wpvulnerability/includes/helpers-api.php on line 36

    Saludos

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hi

    I’ve already done, with phpMyAdmin I entered the database and removed all registers.
    I just wanted to notice that something was going wrong. Server ran out of space because of this issue and site failed.
    At this moment it seems to work properly, there are only:

    All (50) | Complete (49) | Pending (1)

    Older task is 6 days old. I’ll check again next week.

    Regards

    Hi,

    Same issue.
    This is what I add:

    <div class="wp-block-columns">
    <div class="wp-block-column">[text* FNAME id:FNAME placeholder "Name"]</div>
    </div>

    And this is what I get:

    <div class="wp-block-columns">
    	<div class="wp-block-column">
    		<p><span class="wpcf7-form-control-wrap" data-name="FNAME"><input size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" id="FNAME" aria-required="true" aria-invalid="false" placeholder="Name" value="" type="text" name="FNAME"></span>
    		</p>
    	</div>
    </div>

    And also extra paragraph below:

    <p><br>
    </p>

    Thanks

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    ¡De nada! 🙂

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Thanks @jeroenrotty !

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hi

    Yes, it should be like this.

    Archive is /properties/ in plural but CPT is property in singular.

    As posted in the first comment, we have this code:

    $args = [
    		"has_archive" => _x( "properties", "slug", "dunamar-properties" ),
    	];
    register_post_type( "property", $args );

    After doing 2c) “Reset Indexables tables & migrations” the issue was fixed, you can check it here: https://dev.dunamarcapcana.com/property/lot-juanillo-18/

    I could not find 2e) “Start processing and speed up your site now” but I’ve seen “Start SEO data optimization” button. And I’ve clicked.

    It seems that now everything works as expected.

    So, what was wrong ? Maybe I did something incorrectly ?

    Thanks

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hi,
    Please notice that link should be /properties/
    CPT is properties but archive is in plural, not singular.
    I’ve started holidays today, so I won’t be able to install this plugin for a week.
    Please give me some days. Thanks
    Regards

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hi @jeroenrotty

    Thanks for the reply.

    First of all keep in mind that we are using Neve and I guess that Neve calls Yoast functions.
    I’ve already reported this issue to them and they’ve told me that Yoast creates the breadcrumb.

    I’ve developed a plugin to manage Properties (Real Estates).

    This is the url I’ve mentioned, where you can see the breadcrumbs below the title:
    https://dev.dunamarcapcana.com/property/villa-cayuco-16/

    Home » Properties » Punta Cayuco » Villa Cayuco 16

    1. “Properties” points to /property/ instead of /properties/
    2. “Punta Cayuco” is a term from “location” tax, and it was added at “Yoast SEO > Search Appearance > Breadcrumbs > Taxonomy to show in breadcrumbs for content types”

      Link 1) fails (404)
      Link 2) works

      Notice that, since you enter the second link “archive tax-locations term-punta-cayuco” there are breadcrumbs in the header.
      I coded it, it’s not automatically created by Yoast because Neve does not creates a header for custom taxonomies.

      I hope that what I’ve told you can help to understand what’s going on.

      Many thanks in advance.

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Thanks

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Some plugins like “Bridge Core” cannot be disabled because it manages Theme settings.
    But I will disable one by one until the bug disappear.

    I will ask for a staging to do it, but who can do it now is on holidays.

    Shall we put this issue in standby ?

    Thanks

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hi @quadlayers

    Maybe there is any conflict with another plugin, but since Checkout Field Manager (Checkout Manager) for WooCommerce is deactivated the bug has disappeared.

    Plugins ? too many, indeed:

    All-in-One WP Migration
    All-in-One WP Migration Unlimited Extension
    Autónomos
    Better Search Replace
    Bridge Core
    Busca y reemplaza
    Contact Form 7
    Custom Recovery Mode Email
    Editor clásico
    Facebook for WooCommerce
    GDPR Cookie Compliance
    Google Listings and Ads
    Jetpack
    Listado de facturas
    Machete
    Mailchimp for WooCommerce
    MailPoet 3 (New)
    Pay for Payment for WooCommerce
    Qode Instagram Widget
    Qode Twitter Feed
    Regenerate Thumbnails
    SiteGround Analyzer
    SiteGround Optimizer
    SiteGround Security
    Slider Revolution
    Smart Coupons For WooCommerce Coupons
    TablePress
    Variation Swatches for WooCommerce
    Seleccionar WC - APG Envío por peso	
    WooCommerce
    WooCommerce PDF Invoices & Packing Slips
    WooCommerce Redsys Gateway Light
    WooCommerce Shipping & Tax
    Seleccionar WooCommerce Super Shipping	
    WP-Sweep
    Seleccionar WPBakery Page Builder	
    WPVulnerability
    YITH WooCommerce Wishlist
    Yoast Duplicate Post
    Yoast SEO

    This website was done by someone and we have inherited it with all its problems.
    One of the task that we are going to do is remove as many plugins as possible, but meanwhile we must deal with them.

    Thanks

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hi

    I will do a test with these functions in order to load CF7 libraries only where necessary:

    if ( !function_exists('cmdm_wpcf7_dequeue_scripts') ) 
    {
    	function cmdm_wpcf7_dequeue_scripts() 
    	{
    		wp_dequeue_script( 'contact-form-7' );
    		wp_dequeue_style ( 'contact-form-7' );
    		wp_dequeue_script( 'wpcf7-recaptcha' );
    		wp_dequeue_style ( 'wpcf7-recaptcha' );
    		wp_dequeue_script( 'google-recaptcha' );
    	}
    	
    	add_action( 'wp_enqueue_scripts', 'cmdm_wpcf7_dequeue_scripts', 11 );
    }

    and this one:

    if ( !function_exists('cmdm_wpcf7_enqueue_scripts') ) 
    {
    	function cmdm_wpcf7_enqueue_scripts()
    	{
    		$load_scripts = false;
    	
    		if ( is_singular() )
    		{
    			$post = get_post();
    			
    			if ( has_shortcode( $post->post_content, 'contact-form-7' ) ) 
    			{
    				$load_scripts = true;
    			}
    		}
    		
    		if ( $load_scripts )
    		{
    			if ( function_exists( 'wpcf7_enqueue_scripts' ) ) wpcf7_enqueue_scripts();
    			if ( function_exists( 'wpcf7_enqueue_styles' ) ) wpcf7_enqueue_styles();
    		}
    	}
    }
    
    add_action( 'wp_enqueue_scripts', 'cmdm_wpcf7_enqueue_scripts', 99 );

    I guess that will prevent the bug.

    String removal is necessary but somehow it makes CF7 to fail.

    Otherwise “Remove Query Strings from Static Resources” could have an option, like others in SG Optimizer, which allow to exclude scripts.

    Best

    • This reply was modified 3 years, 11 months ago by Jairo Ochoa.
    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hi @plamenm

    Please check in pages without any form.
    Thanks

    Forum: Plugins
    In reply to: [Machete] PHP Warning
    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hola

    He vuelto a detectar el error
    [11-Jul-2022 12:30:41 UTC] PHP Warning: Creating default object from empty value in /home/customer/www/dev.dominio.com/public_html/wp-content/plugins/machete/machete.php on line 86
    En este caso no es un multisitio.
    Otro detalle curioso es que los mensajes los recojo en “debug-.log” cuando todos los errores que ahora tengo (estoy desarrollando un plugin) los tenemos en “debug-dev.dominio.com.log”
    No sé si eso te da alguna pista.

    Saludos!

    Forum: Plugins
    In reply to: [Machete] PHP Warning
    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Algo parece que se arregló porque no hay mensajes desde mi última respuesta.
    Voy a activó.

    Voy a activar de nuevo Machete PowerTools para ver si fuese el culpable.

    Saludos!

Viewing 15 replies - 136 through 150 (of 319 total)