- NewspaperWhen tagDiv Composer is Not Working
- NewspaperRequirements for Newspaper
Don’t know if the suggestion works for a NGINX proxy cache too? I mean we are still using apache as the main webserver?
Am I missing something?
Hi,
We have done tests, and other customers also have not reported that they can’t activate the theme to the PHP version. If you have nginx, you need to set pretty links because sometimes this causes the issue https://cloudarcade.net/tutorial/pretty-url-on-nginx-server/ -> https://www.cyberciti.biz/faq/how-to-configure-nginx-for-wordpress-permalinks/
Thank you!
Hi,
actually I’ve already activated the theme without using php 8.1, so I cannot reproduce the problem anymore, but you should a more in depth testing over people that uses that version.
The thing is:
1. We have rewritten all wordpress files
2. we have cleared all Nginx proxy cache files
3. double checked all the php.ini configurations and wp-config.php files (the status section of the theme presented all results in green + all the settings where at least double of the recommended values)
4. using ftp we uploaded the latest version of the theme (before this removing via bash shell the entire Newspaper theme folder
5. using php 8.1 after double checking all was ok, we tried to register the theme, but the button was running in an endless loop, no matter what and the whole website has always running perfectly without ssl plugins for mixed contents (we already done via phpmyadmin all the double check that no URL has http content in it, the same way all the files, we double checked that any files has only http content in it > this is why we don’t use any http > https plugins)
6. After all the tests we decided to go back to php 7.4 as the problem doesn’t go away.
7. For your final tests, you should be able to reproduce the problem as like us we rewrited all the original wordpress contents (and double checked that the funcitons.php file contents was on it’s default content) …
You have now so many informations if you are going to investigate further, sry but I’ve invested already 6 hours in this matter and is far way too much time and effort for that I have not be payed for this …
Kind regards.
hi team,
i have some troubles with the tagdiv composer after an upgrade von 12.2 to 12.6.1.
TagDiv Composer
Ajax error
An error occurred and we could not finish the process.
Please manually update the plugins."
Maybe its my php version 7.3.33 (which isn’t updatable at the moment) or something other.
After upgrade my page goes to in wordpress recovery mode and reported an issue with tagdiv composer.
Create everything on your website right on the frontend with this drag and drop builder. Perfect for articles, pages, headers, and footers. No coding skills required.
Version 4.4 | built on 05.10.2023 12:50 | Von tagDiv | Plugin-Seite aufrufen
Dieses Plugin konnte nicht richtig geladen werden und wird im Wiederherstellungsmodus angehalten.
Ein Fehler vom Typ E_PARSE wurde in der Zeile 8der Datei /usr/share/nginx/html/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_load.php verursacht. Fehlermeldung: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Is it possible to downgrade to newspaper 12.2 and than migrate to another server with actually version of php and mysql?
thanks a lot
I am using WordPress engine with cloudflare. The site is on the Newspaper theme. The same can be found here
https://newspatron.com
I recently installed a plugin in order to optimize cloud flare. The plugin is Super Page Cache for Cloudflare. It speaks of adding the rules to configuration file.
“Browser caching rules
Open the configuration file of your domain and add the following rules:
location ~* \.(xml|xsl)$ { add_header Cache-Control “no-cache, no-store, must-revalidate, max-age=0”; expires -1; }
location /robots.txt { add_header Cache-Control “no-cache, no-store, must-revalidate, max-age=0”; expires -1; }
location /wp-cron.php { add_header Cache-Control “no-cache, no-store, must-revalidate, max-age=0″; expires -1; }
location = /wp-content/wp-cloudflare-super-page-cache/newspatron.com/debug.log { access_log off; deny all; }
Save and restart Nginx.”
Please let me know where the same could be added as obviously i am on Nginx.
Thanks
Hello Team,
We migrated to a new NGINX Server.
The website is not working – whenever I enable TAG DIV COMPOSER it shows me an error on ADMIN PANEL when activating it.
I have tested all plugins properly and settings – the TAG DIV COMPOSER is creating issue – please help its urgent.
Error Screenshot : https://snipboard.io/PamUGX.jpg
Hi,
You need to set the pretty links for nginx to work the wp-editor, so please check those guides -> https://cloudarcade.net/tutorial/pretty-url-on-nginx-server/ -> https://www.cyberciti.biz/faq/how-to-configure-nginx-for-wordpress-permalinks/
Thank you!
Hi,
Please check this guide for nginx https://linuxhint.com/fix-nginx-403-forbidden/
You need to set the pretty links, you can ask your host to help you -> https://cloudarcade.net/tutorial/pretty-url-on-nginx-server/ -> https://www.cyberciti.biz/faq/how-to-configure-nginx-for-wordpress-permalinks/
Thank you!
Hello, isn’t that an “old” version?
Server Requirements for Newspaper WordPress Theme
WordPress 5.6 or greater
Apache or Nginx
php.ini memory limit: 40MB (recommended: 256M)
PHP version 7.4 or greater
MySQL version 5.0 or greater (recommended: MySQL 5.7 or greater)
The mod_rewrite Apache module (optional)
Should the theme not run flawlessly with a “newer” version?
Thanks for your help.
Hi,
The problem is caused by the nginx server https://i.imgur.com/uPBij9w.png -> https://linuxhint.com/fix-nginx-403-forbidden/
You need to set the pretty links, you can ask your host to help you -> https://cloudarcade.net/tutorial/pretty-url-on-nginx-server/ -> https://www.cyberciti.biz/faq/how-to-configure-nginx-for-wordpress-permalinks/
Thank you!
Hello,
I can’t check your screenshot -> https://i.imgur.com/ZTkZ77x.png please make sure that you don’t have an issue with your server from nginx with the permalinks https://www.cyberpunk.rs/nginx-rewrite-rules-for-pretty-urls
Also, please check this topic https://forum.tagdiv.com/topic/cannot-edit-the-file-post/
Thank you!
@ninjaray, @cooperdevon, (how) did you get this resolved?
I’ve been having the exact same problem.
Never have been able to open the WP Editor inside TagDiv Composer.
It keeps on spinning and console has the 403 error.
I’m on a LiteSpeed Server, not NginX. All .htaccess setting as in the linked to pages in the forum, 10M setting, all server requirements met.
Are any of you running multisite by chance?
Hi,
The problem is caused the nginx https://i.imgur.com/vAVSdLa.png
Please check if this code is missing from your .htaccess: https://www.screencast.com/t/iN0R93dD3p from our requirements https://forum.tagdiv.com/requirements-for-newspaper/ this requirement is not displayed in System Status.
Usually, after you set the code in .htaccess the WP editor works well.
Please check the file permission also, check this guide https://www.basezap.com/fixed-403-forbidden-error-on-nginx-web-server/ -> https://www.debugbar.com/403-error-forbidden/#:~:text=NGINX%20403%20Forbidden%20is%20an,or%20an%20incorrect%20index%20file.
Alos, you can ask your host to help.
Thank you!
Dear Ana Maria,
Thank you once again for your continued support.
I wanted to inform you that I have carefully followed all the steps provided in the link you sent. However, despite this, the issue with the theme license activation persists.
For your understanding, my website is hosted on a LEMP Nginx server at DigitalOcean. In terms of security, I employ both Wordfence and Sucuri, in addition to a Firewall configured directly on my server.
I believe that the issue we are experiencing is more complex than a simple caching problem. My developer and I are fully capable of implementing any further troubleshooting steps you could provide. We are eager to find a resolution to this as soon as possible to minimize disruption to our website.
Thank you for your understanding and cooperation.
Best regards,
Hi,
Those create an object cache and those are not tested with the theme. Please check this guide to help you to solve it https://www.linode.com/docs/guides/how-to-use-nginx-fastcgi-page-cache-with-wordpress/
Thank you!
Hi so we are using Newspaper Pro theme latest version.
I’ve noticed on our server, whenever we enable Nginx Page caching or Redis page cache, the font size of the titles of the homepage gets very small at random intervals.
When we are logged in as Admin, the font becomes normal sized. Only purging the cache fixes this problem.
Is there any fix for this? It’s ruining our caching strategy and the layout completely. I’m enclosing two snapshots of the font size of posts without cache and with cache.
Dear Anmaria,
I tried to implement code into nginx-helper
but I have a errors..
I think that version of current ngnix-helper is different
from your url link manual.
Does your team know how to do this?
error log:
2023/04/26 17:03:36 [error] 5689#5689: *26181 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method FastCGI_Purger::_do_remote_get() in /var/www/clients/client1/web2/web/wp-content/plugins/nginx-helper/admin/class-fastcgi-purger.php:84
Stack trace:
#0 /var/www/clients/client1/web2/web/wp-content/plugins/nginx-helper/admin/class-nginx-helper-admin.php(716): FastCGI_Purger->purge_url()
#1 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(308): Nginx_Helper_Admin->purge_all()
#2 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /var/www/clients/client1/web2/web/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /var/www/clients/client1/web2/web/wp-includes/class-wp-admin-bar.php(87): do_action()
#5 /var/www/clients/client1/web2/web/wp-includes/admin-bar.php(49): WP_Admin_Bar->initialize()
#6 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(308): _wp_admin_bar_init()
#7 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(332): WP_Hook->app” while reading response header from upstream, client: 213.198.238.41, server: nook.rs, request: “GET /hrvatica-u-nemackoj/?nginx_helper_action=purge&nginx_helper_urls=current-url&_wpnonce=2ce9653a10 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/web2.sock:”, host: “nook.rs”, referrer: “https://nook.rs/hrvatica-u-nemackoj/”
2023/04/26 17:06:01 [error] 5689#5689: *26181 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method FastCGI_Purger::_do_remote_get() in /var/www/clients/client1/web2/web/wp-content/plugins/nginx-helper/admin/class-fastcgi-purger.php:84
Stack trace:
#0 /var/www/clients/client1/web2/web/wp-content/plugins/nginx-helper/admin/class-nginx-helper-admin.php(716): FastCGI_Purger->purge_url()
#1 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(308): Nginx_Helper_Admin->purge_all()
#2 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /var/www/clients/client1/web2/web/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /var/www/clients/client1/web2/web/wp-includes/class-wp-admin-bar.php(87): do_action()
#5 /var/www/clients/client1/web2/web/wp-includes/admin-bar.php(49): WP_Admin_Bar->initialize()
#6 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(308): _wp_admin_bar_init()
#7 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(332): WP_Hook->app” while reading response header from upstream, client: 213.198.238.41, server: nook.rs, request: “GET /hrvatica-u-nemackoj/?nginx_helper_action=purge&nginx_helper_urls=current-url&_wpnonce=2ce9653a10 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/web2.sock:”, host: “nook.rs”, referrer: “https://nook.rs/hrvatica-u-nemackoj/”
2023/04/26 17:06:06 [error] 5689#5689: *26181 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method FastCGI_Purger::_do_remote_get() in /var/www/clients/client1/web2/web/wp-content/plugins/nginx-helper/admin/class-fastcgi-purger.php:84
Stack trace:
#0 /var/www/clients/client1/web2/web/wp-content/plugins/nginx-helper/admin/class-nginx-helper-admin.php(716): FastCGI_Purger->purge_url()
#1 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(308): Nginx_Helper_Admin->purge_all()
#2 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /var/www/clients/client1/web2/web/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /var/www/clients/client1/web2/web/wp-includes/class-wp-admin-bar.php(87): do_action()
#5 /var/www/clients/client1/web2/web/wp-includes/admin-bar.php(49): WP_Admin_Bar->initialize()
#6 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(308): _wp_admin_bar_init()
#7 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(332): WP_Hook->app” while reading response header from upstream, client: 213.198.238.41, server: nook.rs, request: “GET /hrvatica-u-nemackoj/?nginx_helper_action=purge&nginx_helper_urls=current-url&_wpnonce=2ce9653a10 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/web2.sock:”, host: “nook.rs”, referrer: “https://nook.rs/hrvatica-u-nemackoj/”
Dear Anamaria,
Thank you for your reply.
I will try to implement this code into nginx-helper plugin, and inform you about it when done.
Thank you a lot.
Best Regards
Dear support,
Mobile and Desktop home pages are mixed from nginx fastcgi cache…
in other words when access to mobile page first, home page on desktop
is mobile page, and when access from desktop first, home page on mobile
device in not mobile page.
How to resolve this issues.
Thank in advance
BR
Hi,
Hoping someone can help with this. We have an issue on our site. When you do a search and then use the pagination at the bottom they all go to 404 page. This is because a “%2f” is being appended to every url. Check it out for yourself: https://research.macrosynergy.com/?s=inflation
Go to above link then click on any number in pagination.
I’ve checked how the search works and it uses esc_url function but even when removing this it has no effect so perhaps its coming from somewhere else.
Any help greatly appreciated. Perhaps I’ve caught a bug?
FYI site is hosted on Kinsta so Nginx setup so no access to htaccess file.
Thanks
Nginx Helper and Redis. The problem is not about caching. It simply doesn’t work in CPT, even if you uncheck the mobile option. Only in the standard post it works.
Just want to share that this was solved with this LINK:
https://forum.tagdiv.com/tagdiv-composer-not-working/
Number #6 NGINX
Need to add the NGINX configuration for this to work.
Hello,
I saw you have nginx server, please set the permalinks like in this guide https://tecadmin.net/nginx-for-wordpress-permalinks/
Thank you!
Hi,
Please check the file permission also, check this guide https://www.basezap.com/fixed-403-forbidden-error-on-nginx-web-server/ -> https://www.debugbar.com/403-error-forbidden/#:~:text=NGINX%20403%20Forbidden%20is%20an,or%20an%20incorrect%20index%20file.
Alos, you can ask your host to help.
Thank you!
Hi,
We have shortcode to display single post tags, categories, and custom taxonomies. It would be great to have a shortcode that can display all the taxonomies(including custom taxonomies) in one place by putting comma separated values. For example, a shortcode that takes the following values, categories, post_tags, custom-taxonomy-1, custom-taxonomy-2 and display all of them in one place skipping the taxonomy that is not used for the article.
If you think that’s enough for you to know, you can skip the rest of the post. But if you want to know why I made this request, please continue reading.
The reason is that tags in wordpress are painfully disorganized.
Suppose you have a tech blog. The categories are
- OS(subcategories(Linux, Windows, Mac, etc));
- Programming(subcategories(software dev, web dev, AI, etc));
- Sysadmin(subcategories(security, performance, monitoring, etc));
Everything’s sweet upto this point.
Now, tags come into play…Suppose we have these tags:
js, css, python, c#, commands, cloud, database, dns, networking, firewalls, mathematics, algorithm, scaling, infrastructure, servers, ubuntu, debian, fedora, css, html, responsive web design, apache, nginx, litespeed, oop, mysql, response time, jobs, remote work, visualstudio, support, updates, disaster management, testing, training, etc.
You can see there is no organization among tags. But there is a pattern, some tags are programming languages, some are OS, some are web servers, some are performance related. One can argue as to why not use them as sub-sub categories for organization? But a job tag could be placed in a lot of categories and so could be python and a lot of others. Moreover, a tag is open and free of relations and hierarchy. Also tags could be thousands in numbers, categories shouldn’t be.
But this is not the main issue because everthing can be solved with the help of custom taxonomies using a plugin.
Following custom taxonomies can be created:-
Tag Programming Language— js, c++, python, c#, java, swift, php, html, css, c and a lot more
Tag Work— Job, workplace, remote work, team management, salary, interview prepration, etc
Tag Software— VS code, notepade++, putty, virtualmin, termius, cyberduck, etc
Tag Infotech— dns, networking, infrastructure, clustering, cloud computing, scaling, firewalls, scripting, nginx, and a
hundred more.
This type of organization is not possible with categories. Firstly because the above organization is not hierarchical, secondly there’s no stress of numbers. They can be in thousands. Thirdly, they don’t share any exclusive relationship to their parent.
You might ask why I want this. User experience. That’s all.
For example, I can make separate section for different types of taxonomies for users to see. A section for softwares, a section for infotech, a section for programming languages, etc, or put softwares, infotech or programming languages in the header menu along with the categories. Imagine seeing a section displaying hundreds of tags on a website on a single page. That would a disaster. Pure chaos. But with custom taxonomy I can achive this.
Now the problem is everything is ready. I have four different type of custom taxonomy. I write an article that requires these tags— job, python, cloud, termius. But, as seen above, these are all different taxonomies(not tags).
To display them on my article, I have to use four different custom taxonomy shortcodes and put each taxonomy in each shortcode setting. These would occupy four horizontal lines(a lot of space, and will look ugly).
It would make the job a lot easier if just one shortcode could do this job. Like putting work, infotech, programming language, softwares, etc in the shortcode will show all the taxonomy terms at one place like tags. And if a term is put in shortcode but is not used in article, it won’t appear. Because you don’t know which taxonomy would be used on which article because it’s a global template. So you put all of them and the unused ones are not shown.
All you would have to do is create a shortcode that is able to accept multiple types of taxonomies and display them in one row(inline) and discard the taxonomy types that are not used even if they are in shortcode.
Thanks.
If you want, I can share examples.