What should I do if the recommendation bit of phpcms get cannot be updated?
phpcms get recommendation position cannot be updated? phpcms failed to push articles to the recommended position, reasons and fixes for not being able to be recommended to the recommended position
Recently, when a friend was maintaining a project, he found that their articles could not be pushed to the recommended position. After the menu is recommended, it will directly display blank and the push will fail; if the recommendation position is checked in the article, an error will be reported directly when saving.
Find the core file of recommended actions: modules/admin/classes/push_api.class.php
Recommended position list interface processing function: position_list()
Through breakpoint analysis, the statement causing the problem is at location A.
The array is initialized at location B, and location B is modified to
$fields_arr = $fields_value = array();
will run normally.
Considering that this project uses PHP7, and PHPCMS supports PHP5 more, the root cause is still a problem in the version characteristics of PHP. It is recommended to use php5.3 when using PHPCMS. This version is relatively stable.
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of What should I do if the recommendation bit of phpcms get cannot be updated?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Dreamweaver Mac version
Visual web development tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function
