• I’ve got the directory plugin installed and it appears to be working. I’ve got categories linked to it. And they display correctly in the directory page:

    /business-directory/
    shown here:
    https://img.skitch.com/20100402-8x5pg46qncgieiu4gm26i5dg34.jpg

    the problem is once I submit a new listing, the listing appears to have been saved but it fails to update the tally for that category in the directory page above. and then when i click on a category to see all the listings for that category, i get an error message – for example:

    /category/directory-listings/accounting/

    Warning: Invalid argument supplied for foreach() in /usr/sites/mvn/htdocs/wp-content/plugins/wp-business-directory-manager/wpbusdirman.php on line 236

    any ideas why this is happening?

    ———–
    https://www.ads-software.com/extend/plugins/wp-business-directory-manager/

Viewing 15 replies - 1 through 15 (of 43 total)
  • kga245, looking into this. In the meantime, do you have new posts set to “pending” or “publish”? The default and recommended is “pending”. If it’s set to “pending”, did you publish the pending listing (the same way you publish a pending post). Is this happening even while the listing has a status of published?

    I’m also getting alot of invalid arguments. I’ve uninstalled the plugin and reinstalled without any luck. This is what happens when I try to upload an image file:

    Warning: move_uploaded_file(home/mha55/public_html/wp-content/wpbdm/1270320063_0.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/mha55/public_html/wp-content/plugins/wp-business-directory-manager/wpbusdirman.php on line 4466

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/tmp/phpxvFKAn’ to ‘home/mha55/public_html/wp-content/wpbdm/1270320063_0.jpg’ in /home/mha55/public_html/wp-content/plugins/wp-business-directory-manager/wpbusdirman.php on line 4466

    [1270320063_0.jpg]could not be moved to the destination directory home/mha55/public_html/wp-content/wpbdm

    Tom

    (@jeffreeeeey)

    Having same problem:

    Warning: Invalid argument supplied for foreach() in /usr/sites/mvn/htdocs/wp-content/plugins/wp-business-directory-manager/wpbusdirman.php on line 236

    ..appearing in the header of my page when I try to view the category listings.

    Shame as this seems like it could be a very good plugin.

    Great plugin however I am receiving an error message whenever someone tries to submit a listing or I update a page. The error message is: Fatal error: Call to a member function get_page_permastruct() on a non-object in /data/0/0/83/117/83932/user/85262/htdocs/ihpa/wp-includes/link-template.php on line 223. In addition I have the categories listed as child categories under a main heading. Could this be an issue? Big $$$ if you can fix this problem or any others.

    Thread Starter kga245

    (@kga245)

    @ Themestown

    i’m not sure what you mean. to my knowledge no posts are pending. how would I find that out? is each new listing a “post” ?

    Thread Starter kga245

    (@kga245)

    i went into the control panel and changed the “Default new post status” status to “publish” and i get the same error.

    I too get this error. I can see my categories but if I click on a category I get:
    Warning: Invalid argument supplied for foreach() in C:\...\wordpress\wp-content\plugins\wp-business-directory-manager\wpbusdirman.php on line 237

    Hmmm…

    Everyone, sorry to have taken so long to respond. I am getting these issues fixed and should have an update ready by the middle of the coming week.

    For those of you getting the [function.move-uploaded-file]: failed to open stream: error messages, make sure the upload folders actually exist. You should have wp-content/uploads/wpbdm and wp-content/uploads/wpbdm/thumbnails. The plugin is supposed to be creating these folders on the first upload attempt but it seems for some that’s not happening so you will need to create the folders manually. You can check the post below for more info if you have the folders but still get the error

    https://themestown.com/wp-business-directory-manager/wp-business-directory-manager-image-upload-error

    Warning: Invalid argument supplied for foreach() in /usr/sites/mvn/htdocs/wp-content/plugins/wp-business-directory-manager/wpbusdirman.php on line 236

    The above warning appears to be associated with categories that don’t have any posts in them. I have added some code to the core to fix the warning. You can try going to the “Configure/Manage Options” admin page and setting Hide Empty Categories to yes for now.

    Hi intlhpassoc, I’ll try to track down and fix this problem. No need to promise big $$$. I will fix any bugs that are found so that the product works as intended.

    Hi, I just installed v1.1 and now I get this error when clicking on my Business Directory page.

    Warning: Invalid argument supplied for foreach() in /homepages/1/d322814613/htdocs/wp-content/plugins/wp-business-directory-manager/wpbusdirman.php on line 3219

    tdcsupport do you have any listings in the directory? I’ve updated to 1.2 with a fix but since I don’t know the condition under which the warning is popping up then I can’t be sure the fix will work so let me know; and if it doesn’t work then anything else you can tell me such as whether or not you have any listings might help. Or better yet if you could point me to where I can see the problem in action.

    Hi, I have been working with v1.2 over the last hour and discovered the error below.

    I have “must be logged in” to join the directory turned off, so I simply tried to Join the Directory by populating the required fields and clicked on submit button. This is what I got back.

    Fatal error: Call to undefined function sanitize() in /homepages/1/d322814613/htdocs/wp-content/plugins/wp-business-directory-manager/wpbusdirman.php on line 3572

    Thanks for that info tdcsupport. Will get it fixed and update as soon as fixed.

Viewing 15 replies - 1 through 15 (of 43 total)
  • The topic ‘[Plugin: WP BUSINESS DIRECTORY MANAGER] Categories Not Displaying’ is closed to new replies.