Forums

WP-load.php is showing error about function redeclarartion (2 posts)

  1. deblopper.sumanta
    Member
    Posted 1 year ago #

    Hiii,

    I want to use wordpress functionality outside the WP-structure.
    I included wp-load.php. But where ever i include the wp-load.php , it is showing the following error.

    Fatal error: Cannot redeclare twentyten_page_menu_args() (previously declared in /home/example/public_html/wp-content/themes/wwo/functions.php:215) in /home/example/public_html/wp-content/themes/wwo/functions.php on line 218

    .

    the function twentyten_page_menu_args() is written on only one place.

    Whenever wherever I include the wp-load.php this fatal error shows.

    Please Tell me what may be the source of the error. Is this the nature of wp-load.php?

  2. deblopper.sumanta
    Member
    Posted 1 year ago #

    Hello ,
    Is there anyone to solve my problem?

Topic Closed

This topic has been closed to new replies.

About this Topic