• Hi one site, have WordPress 4.9 and WC Version: 3.2.4.

    I used your plugin to customize product cards. (https://www.bulbishop.it).

    Unfortunately, there is a conflicts with plugins INSERT PHP and Yoast SEO (Free and Premium)

    When I try to duplicate a product there is an error:

    Fatal error: Uncaught Error: Call to a member function get_attribute() on null in /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/insert-php/insert_php.php(48) : eval()'d code:3 Stack trace: #0 /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/insert-php/insert_php.php(48): eval() #1 /home/bulbizaf/public_html/bulbishop.it/wp-includes/class-wp-hook.php(286): will_bontrager_insert_php('[space]\r\n[inser...') #2 /home/bulbizaf/public_html/bulbishop.it/wp-includes/plugin.php(203): WP_Hook->apply_filters('[space]\r\n[inser...', Array) #3 /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/wordpress-seo-premium/admin/links/class-link-watcher.php(107): apply_filters('the_content', '[space]\r\n[inser...') #4 /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/wordpress-seo-premium/admin/links/class-link-watcher.php(56): WPSEO_Link_Watcher->process(10808, '[space]\r\n[inser...') #5 /home/bulbizaf/public_html/bulbishop.it/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(10808, Obj in /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/insert-php/insert_php.php(48) : eval()'d code on line 3

    I have open a ticket to Yoast SEO and they answer me that “we are unable to investigate this issue further because we do not troubleshoot conflicts with plugins that have not been updated recently. Insert PHP has not been updated in more than 2 years”.

    I have try to deactive Yoast SEO when I duplicate the article.

    The duplication is ok but when I reactve Yoast SEO and change the new product on Update this error show

    Fatal error: Uncaught Error: Call to a member function get_attribute() on null in /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/insert-php/insert_php.php(48) : eval()'d code:3 Stack trace: #0 /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/insert-php/insert_php.php(48): eval() #1 /home/bulbizaf/public_html/bulbishop.it/wp-includes/class-wp-hook.php(286): will_bontrager_insert_php('[space]\r\n[inser...') #2 /home/bulbizaf/public_html/bulbishop.it/wp-includes/plugin.php(203): WP_Hook->apply_filters('[space]\r\n[inser...', Array) #3 /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/wordpress-seo-premium/admin/links/class-link-watcher.php(107): apply_filters('the_content', '[space]\r\n[inser...') #4 /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/wordpress-seo-premium/admin/links/class-link-watcher.php(56): WPSEO_Link_Watcher->process(10809, '[space]\r\n[inser...') #5 /home/bulbizaf/public_html/bulbishop.it/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(10809, Obj in /home/bulbizaf/public_html/bulbishop.it/wp-content/plugins/insert-php/insert_php.php(48) : eval()'d code on line 3

    There is a way to fix this problem?

Viewing 1 replies (of 1 total)
  • Hello apollositiweb,

    For the record, Insert PHP hasn’t been updated because it doesn’t need updating. It’s checked with each new version and works as it should. There is noting to update.

    I find it interesting that Insert PHP works for at least one of your products but spawns errors when the product is duplicated. According to the error message, there is a get_attribute()-related error at line 3 of the code being processed by Insert PHP. But that may be related to something else that happens because of the duplication – perhaps a code conflict (if you have both the original product and the duplicated product on the same page) – but just guessing on that.

    From other help requests and responses, I’ve come to the conclusion that Yoast SEO causes an extra parsing of the post or page, perhaps for it’s internal use. It is something to consider that when debugging in case that extra parsing introduces something unexpected.

    If the conflict continues, then one of the plugins needs to be deactivated. Here may be other solutions you can use to replace Insert PHP.

    Will

Viewing 1 replies (of 1 total)

The topic ‘Conflict’ is closed to new replies.