Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Ryan

    (@godsgood33)

    Got it fixed. For others out there, the problem was with the WPSEO_Link_Watcher::save_post method and action hook. Doing a remove_all_actions('save_post') fixed the problem I was having. I’m only doing it during activation and deactivation of my plugin, so it’s not a problem for other plugins.

    Thread Starter Ryan

    (@godsgood33)

    All of your questions are answered in my OP, but since you didn’t actually read it for understanding, I will explain it further. It is a plugin conflict…thus the title. I am the developer for the plugin and I’m attempting to figure out why Yoast is causing my plugin to crash. My plugin is https://wordpress.org/plugins/point-tracker. I’ll set the stage for you so you can duplicate.

    Yoast SEO installed and active
    Point Tracker installed
    Attempt to activate PT
    Creates first page “Challenge” then crashes. An init function in the Point_Tracker class checks for the presents of a URL parameter, since the parameter doesn’t exist since the plugin is inactive it crashes.

    PT will activate fine if Yoast is inactive.

    What this tells me is that after the activator method creates the first page, Yoast attempts to crawl that page for some reason. So what I need is a way to at least temporarily bypass Yoast from crawling the pages.

    Thread Starter Ryan

    (@godsgood33)

    Does anybody have a solution to this? Here’s the scenario. I’m writing a plugin that will allow a user to generate a long URL that is specific to their purpose. The plugin has the ability to save the links in the WP links table. I am trying to develop a button or box similar to the “Add/Edit Link” box that will query the links table and display the links that are saved there. This will allow them to easily insert the link into a post they are creating. Thanks!

    Thread Starter Ryan

    (@godsgood33)

    That is exactly what I needed! Thanks!

    Thread Starter Ryan

    (@godsgood33)

    Maybe as another option I have the core plugin check for the presence of the files that display in the submenus and have it create the submenus itself instead of leaving that to the other plugins.

    Thread Starter Ryan

    (@godsgood33)

    @bcworks, so it’s possible that the plugins are creating the menu’s out of order? Are the directories evaluated in alphabetic order or something? So if that is the case then that makes sense. Is there a way that I can fix that so that they are created in the correct order? Maybe instead of adding it to the loader automatically I create a separate function that does that then call it after the others have been created? Tried quickly finding a way to check for the presence of the main menu before creating the submenus, but can’t find it. Suggestions? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)