Forum Replies Created
-
AuthorPosts
-
Ok, I’ve managed to repair this with this solution.
I hope, Ididn’t break anything else :)
Portfolio categories work without problem
Unfortunately there is one more mistake.
When You go to:
https://slubipapier.pl/?avia-element-paging=2
or any other page higher than 1 you cannot come back to the first site :(
The same story here:
https://slubipapier.pl/blog/?avia-element-paging=2Thanks a lot!
Now works like a charm!
Can You tell me where was the problem or even better will I have to change something after the next theme update?I’ve changed files in the morning to the original ones and the problem is portfolio.php – with original one Portfolio Grid element works, but pagination in archive categories is broken, with modified one by You (as now) the pagination works but portfolio grid is broken like here.
I attach FTP credentials.
February 10, 2021 at 2:01 pm in reply to: Pagination – Call to undefined function Avia_Element_Templates #1279438Link to the broken page.
Can I get any help? Is there any mail contact to You?
This is my company site and I’m probably loosing clients because of the problem and first time I have to think about changing theme to one with real/24h support.Jad P, do You have the same problem?
Call to undefined function Avia_Element_Templates()For me all the portfolio grids other than blog and portfolio categories are broken
Can You maybe tell which files can affect the problem with portfolio grid on broken website so I can change them with original ones?
More important for me are the grids than changes – I’ll make them again one by one when I see what is not working properly.
Maybe I should give You FTP access as well?
I’ve copied original function-set-avia-frontend.php and copied 3 files and there still is:
Fatal error: Uncaught Error: Call to undefined function Avia_Element_Templates() in /home/klient.dhosting.pl/slubipapier/slubipapier.pl/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php:587 Stack trace: #0 /home/klient.dhosting.pl/slubipapier/slubipapier.pl/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1042): avia_sc_portfolio->shortcode_handler(Array, ”, ‘av_portfolio’, Array) #1 /home/klient.dhosting.pl/slubipapier/slubipapier.pl/wp-includes/shortcodes.php(343): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_portfolio’) #2 [internal function]: do_shortcode_tag(Array) #3 /home/klient.dhosting.pl/slubipapier/slubipapier.pl/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(av_hr|…’, ‘do_shortcode_ta…’, ‘[av_hr class=’i…’) #4 /home/klient.dhosting.pl/slubipapier/slubipapier.pl/wp-includes/class-wp-hook.php(287): do_shortcode(‘[av_hr class=’i…’) #5 /home/klient.dhosting.pl/slubipapier/slub in /home/klient.dhosting.pl/slubipapier/slubipapier.pl/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php on line 587Link to the testing page
So everything works except I cannot add any Portfolio grid to website :(
Can You please check why?
I’ve made testing page duplicating home page with grid (I’ve deleted portfolio grid from home page):I cannot update the main page – probably that is the problem
Pagination on categories works
Main page is broken!I have exactly the same problem
Other thing is that if You go to:
https://slubipapier.pl/kategorie-zaproszen-slubnych/zaproszenia-slubne-z-kwiatami/page/2/
instead of linked:
https://slubipapier.pl/kategorie-zaproszen-slubnych/zaproszenia-slubne-z-kwiatami/?avia-element-paging=2
the site is thereThis reply has been marked as private.Hi, what od I’ve updated everything and the pagination does bot wiek only on portfolio category?
Like hereDo You maybe have anyother ideas?
On the main page it works without any problems. As well as on the blog page:
Unfortunately it doesn’t work for me :(
I’ve already replaced the code or maybe I’ve done it wrong way:function avia_extended_pagination_link( $method, $page_number, $query_arg = '' ) { if( empty( $query_arg ) ) { $url = $method( $page_number ); } else { $url = add_query_arg( $query_arg, $page_number, $url ); } return $url; }
Hi! I’ve tried many fixes from this forum but still nothing is working:
https://slubipapier.pl/kategorie-zaproszen-slubnych/zaproszenia-slubne-z-kwiatami/?avia-element-paging=2Always showing 1 site.
Problem has occured after update :(Sorry for trouble – it was update problem – now working fine!
What’s more Theme options not showing in the dashboard…
-
AuthorPosts