Wordpress the_content issue - php

enter image description here
Hello,
I'm trying to solve this problem in Wordpress. I need to have my permalink structures as post names, so making them plain is not an option even if it fixes this problem (it generates others).
As I've seen:
I need to put into the file manager, because I can't access and edit my page using elementor.
Now I have tried to change the php for different reasons the last days, like colors etc., but always, like now, I can save my changes but nothing changes at all.. Am I doing something wrong?
Thanks a lot!
Marc White

according to me there is something wrong with your data. As some github like pass custom php function to solve this error.
Github link for the related issue- Link
If you still face issue just lemme. I think will help you.

Related

Forum Page Subjects Show Up With Gaps

http://www.hisseforex.com/forum/
Above link is for my forum page. It used to be normal and working but I found it showing up subject lines with a gap suddenly. I tried to upload it again to my host yet it did not work. Can I get a little help with its cause and how to solve it?
Changed my style since I could not find any better option. Thanks everyone.

WP site generating weird session id next to page url

Few pages of my WordPress site generating weird session id next to page url for example http://www.example.com/?wvsessionid=wvac7224adb9a344b4b05354762584a621 . I don’t know where this coming from. bad thing is google indexing them & it creating duplicate content issue. where should i look for this issue & any idea , how I can solve it?
This could be one of two things:
some plugin is generating this, in that case search in plugins code to look for wvsessionid phrase which will tell you which plugin is generating this and why.
another option is some injected code due to hacking but that less likely as this parameter wouldn't be of much help.

Wordpress: You are not allowed to edit this post (even tough I am admin)

When trying to create or edit posts in wordpress, the error message "You are not allowed to edit this post" appears. As mentioned, my user is an administrator. With a different administrator account I still have the same problem.
I first thought the problem might be caused by my wordpress template, so I tried to change it back to one of the default templates but the issues unfortunately still exists.
The second step was to download wordpress, unpack it and replace the wp-config.php with my own wp-config.php to give the new installation access to my old database. After that the problem still existed!
After that I came to the conclusion that the problem can only be inside the database, right?
This is a screenshot of SequelPro looking at the wp_usermeta table of my wordpress database. Maybe someone knows what could be wrong with this? Where else could there be some misconfigurations that causes this problem?
Thank you! :)
Yours Sincerely, Felix
I found out that the problem was that somehow there were no primary keys in my tables. That caused all the trouble I had :/

Advanced Custom Fields Issue

So, there's a code that I've recycled multiple times on sites as it's well liked by my company. I am trying to update and recreate my portfolio due to my old hosting company wiping my entire file system. My fault for not having a back up, but lesson learned. Makattak.com Using this code here, I am unable to get anything to display.
A site I've used it on is here: Bowhunting.com
Here is a photo of my repeater field in ACF. I followed the same structure but still cannot get anything to display.
Can anyone offer some suggestions as far as what I am doing wrong? I've tried cutting things out, I've tried rebuilding from scratch, I just can't seem to get the loop to happen.
I am using the latest version of WordPress, and the latest purchased copy of ACF: Advanced.
I know this my sounds stupid but, did you assign the template to a page and select the page on the wordpress Reading settings?
Thanks to both Dre and Raul Cruz, I was able to find the issue.
I didn't set the Reading Settings to Home Page, static.
I revamped my code to change the_sub_field('field'); to
get_sub_field('field')
a change I made while debugging but didn't revert back
There was an issue with my syntax, and when writing the code back in, line by line, testing after each line, I was able to get what I needed back in working order
Thank you both for the help.

Why are my WordPress urls always opening to last published post?

Every post permalink takes me to last published post.
For example both
http://randomwebsite.com/?p=554 and
http://randomwebsite.com/?p=556
Take me to same article, and it is always the newest post.
I tried changing permalink structure, and reinstalling WordPress, but still no go.
It is very strange problem and I never had it before.
Any ideas why this could be happening?
As Joren mentioned in the comments, this sounds like it could be a template problem. That is, your post data may be loaded as it should, and your permalink structure may be fine, but if the posts are being routed to a template file which is hard-coded to display only a single (most recent post) then you will have this problem.
You can confirm this is in fact the problem by switching to another, more standard theme, (like twentytwelve,twentythirteen...) and verify that the issue is resolved.
If that indeed does fix the problem. Try to determine which template file is being loaded in your theme by digging around in the source (the files are found here: wp-content/your-theme/template-file.php) or by reading this page of the WP documentation: https://codex.wordpress.org/Template_Hierarchy. Then debug the code as necessary.

Categories