Error follwoing install

This topic contains 10 replies, has 4 voices, and was last updated by  Paolo 9 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #23009

    Geoff Cox
    Free User
    Post count: 9

    I was so forward to seeing lovely Geo directory screen following install but all I received is a page of errors which you can see at http://109.104.94.199/~qradionetwork/location/

    Each error refers to Warning: “Invalid argument supplied for foreach() in /home/qradionetwork/public_html/wp-content/plugins/geodirectory/geodirectory-functions/cat-meta-functions/Tax-meta-class.php on line 1407”

    I am using WP 4.01 and a theme called “Fraction”.

    I do hope someone may be able to shed some light on it.

    Thankyou so much.

    Geoff

    #23012

    Guust
    Moderator
    Post count: 29970

    Hi Geoff, they are just warnings.
    http://docs.wpgeodirectory.com/faqs/help-i-get-a-php-warning-on-my-pages/

    But that is not right at any rate.
    Can you send us your WP admin details in a private message, so we can have a look.

    #23014

    Geoff Cox
    Free User
    Post count: 9
    This reply has been marked as private.
    #23015

    Geoff Cox
    Free User
    Post count: 9
    This reply has been marked as private.
    #23018

    Guust
    Moderator
    Post count: 29970
    #42561

    catwalkghost
    Free User
    Post count: 11

    Hello,

    I am using Fraction theme too and get the same warning displayed.

    They do appear on post pages are viewed on mobile devices:

    http://corespirit.co.uk/7-ways-acupressure-can-keep-you-healthy-2/

    If you need an account to investigate this issue, it can be created upon reply.

    #42574

    Paolo
    Site Admin
    Post count: 31211

    Hi

    the solution has been provided by Guust, did you follow his instructions?

    let us know,

    Thanks

    #42576

    catwalkghost
    Free User
    Post count: 11

    Yes, I did. This is what I get if I modify functions.php file (obviously in child theme):

    Fatal error: Cannot redeclare my_theme_wrapper_start() (previously declared in /home/corespirit/public_html/wp-content/themes/fraction-theme-child/functions.php:69) in /home/corespirit/public_html/wp-content/themes/fraction-theme/functions.php on line 57

    See attached screenshot

    #42589

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    looks like you copy all parent theme functions in there. You should have a blank functions.php instead to only add your own new functions…

    Let us know,

    #42669

    catwalkghost
    Free User
    Post count: 11

    Hi,

    Thanks for the explanation and very prompt reply. The errors are now hidden

    Thanks.

    #42713

    Paolo
    Site Admin
    Post count: 31211

    thank you! 🙂

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount