WordPress.org

Ready to get started?Download WordPress

Forums

CMS Press
error on add content type page (4 posts)

  1. Hax
    Member
    Posted 3 years ago #

    I am getting the following error on the add content type page

    Warning: strpos() [function.strpos]: needle is not a string or an integer in /Applications/MAMP/htdocs/test/wp-content/plugins/cms-press/child-plugins/dynamic/dynamic-content.php on line 637

    http://wordpress.org/extend/plugins/cms-press/

  2. prettyboymp
    Member
    Plugin Author

    Posted 3 years ago #

    Wow, thanks for pointing that out. I'm using the wrong function to check for taxonomy tags in the permastructure. It shouldn't keep the plugin from working correctly, though. I'll add the fix to the next release.

  3. cosmictap
    Member
    Posted 3 years ago #

    This doesn't appear to have been fixed in the subsequent release. Any news? Thanks.

  4. moonty
    Member
    Posted 3 years ago #

    replace line 637

    if(false !== strpos($perma_structure, array('%tag%', '%category%')))

    with

    if(false !== strpos($perma_structure, '%tag%') || false !== strpos($perma_structure, '%category%'))

    hope that helps.
    Josh

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags