theme-content-generator.php error – now all of my site content is gone?

This topic is: Not resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 12 replies, has 3 voices, and was last updated by  Max 2 years, 11 months ago.

  • Author
    Posts
  • #2043

    Digicept
    Member
    Post count: 6

    Here is how my frontpage looked – http://luxeseo.com.au/screenshot.png

    Then I tried to create a new custom tab for the bottom of the page – using the page builder. It spat out an error about theme-content-generator.php (line 38) and so I opened it up and commented it out.
    Then when I refreshed the homepage after doing that, page is 100% empty, check it here: http://www.luxeseo.com.au

    It did this error about md.pb.php earlier on another page I was working on, and I had to start from scratch (it deleted all of the content from the page builder), now I’ve almost finished this page, and it’s 100% dissapeared again.

    I checked the Mysql database for certain words that I created in the content, and it’s not showing up at all.

    Do you mean to say that the theme generator deleted my content from the mysql database?

    I loved this theme, but our relationship is going to be on the rocks if it keeps this up 🙁

  • #2044

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2047

    Digicept
    Member
    Post count: 6
    This reply has been marked as private.
  • #2049

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2051

    Digicept
    Member
    Post count: 6
    This reply has been marked as private.
  • #2052

    Digicept
    Member
    Post count: 6
    This reply has been marked as private.
  • #2053

    Digicept
    Member
    Post count: 6

    Can I have an update please? 🙂

  • #2056

    Digicept
    Member
    Post count: 6

    I think you missed the point.

    Look at this page: http://www.trope.net.au/home-flat-style/home-flat-style-2/

    As I said….

    I cant edit anything in the page builder as it’s all dissapeared etc.

    This issue started when I changed the fade on one of the page builder modules, I changed it from on to off.

    This is not just a simple browser caching issue. It’s an issue from the theme itself

    Thanks

  • #2064

    Digicept
    Member
    Post count: 6

    I’ll be looking for a refund from themeforest then.

  • #2084

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2117

    dagger
    Member
    Post count: 42

    I’m sorry Maxx, but Digicept is right. It is not a caching issue, but is directly related to the pagebuilder. I had my developer look at the errors I listed on my thread, and even fixed the line 38 errors with the following fix, but pagebuilder still doesn’t work properly. These errors only happened when you updated your theme, so in order to keep any sense of credibility, stop telling us that we are all wrong, and that it works perfectly for you.

    Warning: Invalid argument supplied for foreach() in /home/public_html/wordpress/wp-content/themes/creatiz/functions/theme-content-generator.php on line 38

    Line 38 is:

    If ($page_meta_data) {

    Needs to be changed to

    if(is_array($page_meta_data) && sizeof($page_meta_data)) {

    Needs to check if $page_meta_data is an array and that there are values within it, otherwise foreach() will display a warning.

  • #2132

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2054

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!