Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #904441

    Hallo,

    leider tritt seit dem letzten Update auf 4.2.2 ein Fehler auf der Artikellistenseite auf “builder_status ist seit Version 4.2.1 veraltet! Benutze stattdessen AviaBuilder::get_alb_builder_status().”
    Die Seite “loop-inex.php” wurde von mir, in einem Childtheme, angepasst. Dort habe ich “AviaHelper::builder_status()” durch “AviaBuilder::get_alb_builder_status()” ersetzt. Mit dem Ergebnis dass jetzt ein neuer Fehler auftritt.
    Die Meldung tritt beim Verwenden des Mutterthemes “Enfold” nicht auf.

    Was muss ich tun um den Fehler zu beheben?

    Vielen Dank

    André

    • This topic was modified 6 years, 10 months ago by lightdream68.
    #905186

    Hey lightdream68,

    Can you please post your question in English as our German Support is vocations right now, so we can take some time to help faster?

    Best regards,
    Basilis

    #929836

    In my case, the solution was to replace a call to AviaBuilder::builder_status with one to Avia_Builder()->get_alb_builder_status. This was in an override to loop-index I’d included in a single.php template for a specific content type.

    Comparing my child theme’s override code with the updated default in the Enfold theme itself found the problem pretty quickly; since this wasn’t in a section I’d amended, I could simple copy-and-paste the updated code into my override.

    #929863

    Hey!


    @jjsanderson
    Glad you figured it out and thanks for sharing your solution :)

    Regards,
    Yigit

    #933073

    Classic facepalm moment: through ham-fisted merging I managed to delete my amended code, reverting to the earlier version which prompted the error. A week later, and after a bunch of other code has flitted through my head, I had to Google the fix again.

    …at which point I came across a forum post describing exactly the solution I needed. Written by… er… me. A week ago.

    Morals of this story:

    1. Document yourself, preferably publicly!
    2. I’m an idiot.
    #933402

    Hi,

    Glad that it is fixed. We do tend to forget these little things sometimes. We’ll close the thread now. :D

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Fehler nach Update auf 4.2.2 AviaBuilder::get_alb_builder_status()’ is closed to new replies.