WordPress.org

Forums

Custom Community
Gettings Error On my theme (7 posts)

  1. Fubarp
    Member
    Posted 2 years ago #

    When I'm using Custom Community Theme I keep getting an error that pops up on all my pages just above the header and below the admin bar.. It just spams this error.

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/39/10786039/html/wp-content/themes/custom-community/admin/config.php on line 19

    Warning: array_shift() [function.array-shift]: The argument should be an array in /home/content/39/10786039/html/wp-content/themes/custom-community/admin/config.php on line 19

    I'm not really sure what's going on, I had just added a new plugin WPBB so I could create a forums beacuse Buddypress and bbPress were just a nuisance when it came to setting up a group/site wide forum.. I really don't want to have to do a restore of my database to fix this, and I will but I feel like it will happen again.

    Thanks in advance for the help.

  2. konradS
    Member
    Posted 2 years ago #

    Hi Fubarp,

    does it work with the BuddyPress Default Theme?

    I created an issue at github here:
    https://github.com/Themekraft/Custom-Community/issues/171

    You can comment there directly too,
    hope this helps, konrad

  3. konradS
    Member
    Posted 2 years ago #

    Hi Fubarp,

    we cannot reproduce your error..

    some more details would be great:

    1.) did you deactivate all other plugins except WPBB and buddypress to check if it is really caused by this plugin?

    2.) did you change any theme files directly?

    3.) any further details to your installation would be helpful to be replicated and maybe fixed... you can comment directly in the github issue mentioned above, this will speed up the whole process ^^thanks for reporting, konrad

  4. Fubarp
    Member
    Posted 2 years ago #

    I deactivated buddypress... Didn't like it in the end and just used WPBB for the forum setup with wordpress and Custom Community for the theme..

  5. konradS
    Member
    Posted 2 years ago #

    thanks for coming to github, see my comment there:
    https://github.com/Themekraft/Custom-Community/issues/171#issuecomment-15720171

  6. michaelmig
    Member
    Posted 2 years ago #

    I just downloaded custom community and activated it on wamp server. It stopped working, this is what the error reads:

    (SCREAM): Error suppression ignored for

    ( ! ) Fatal error: Cannot redeclare slider() (previously declared in C:\wamp\www\Testsite\wp-content\plugins\smooth-slider\includes\smooth-slider-functions.php:57) in C:\wamp\www\Testsite\wp-content\themes\custom-community\functions.php on line 856

    Call Stack

    #

    Time

    Memory

    Function

    Location

    1 0.0007 141152 {main}( ) ..\index.php:0
    2 0.0011 143240 require( 'C:\wamp\www\Testsite\wp-blog-header.php' ) ..\index.php:17
    3 0.0017 153856 require_once( 'C:\wamp\www\Testsite\wp-load.php' ) ..\wp-blog-header.php:12
    4 0.0023 161224 require_once( 'C:\wamp\www\Testsite\wp-config.php' ) ..\wp-load.php:29
    5 0.0036 218608 require_once( 'C:\wamp\www\Testsite\wp-settings.php' ) ..\wp-config.php:90

  7. Svenl77
    Member
    Theme Author

    Posted 2 years ago #

    Hi @michaelmig,

    thanks for your feedback.

    It looks like a conflict with the smooth-slider. Please try to deactivate the plugin and check if the error still occurs.

    The problem is the same naming of a function "Cannot redeclare slider()"

    I have create a ticket in github to prefix the function name and avoid such conflicts in the future.

    https://github.com/Themekraft/Custom-Community/issues/179

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.